Colorization of Javascript string literals in PE is inconsistent. #737
Closed
Description
- Navigate to http://preview.nuget.org/packages/Modernizr/2.6.2/Contents
- Open Content\Scripts\modernizr-2.6.2.js in the preview pane.
- Scroll down to line 104 in the file (the text of which is "fakeBody = body || document.createElement('body');")
- Observe the colorization of that and of subsequent lines.
Result: We incorrectly colorize the javascript text literal in that line, erroneously treating the closing single-quote as the start of a multi-line string. This affects readability adversely.
Expected: We should parse and colorize string literals in JavaScript expressions correctly.
Metadata
Assignees
Labels
No labels