RESOLVED FIXED34934
Web Inspector: incorrect syntax highlighting as HTML in a script tag
https://bugs.webkit.org/show_bug.cgi?id=34934
Summary Web Inspector: incorrect syntax highlighting as HTML in a script tag
Timothy Hatcher
Reported 2010-02-15 01:41:33 PST
Created attachment 48742 [details] Bug On Daring Fireball there is a script tag that has a string with HTML inside. This should be shown as a normal string, but it starts to parse as HTML again. The link highlighter is confused too. See screenshot.
Attachments
Bug (177.47 KB, image/png)
2010-02-15 01:41 PST, Timothy Hatcher
no flags
[PATCH] Proposed fix. (6.48 KB, patch)
2010-02-15 08:56 PST, Pavel Feldman
timothy: review+
Pavel Feldman
Comment 1 2010-02-15 08:56:33 PST
Created attachment 48757 [details] [PATCH] Proposed fix.
Pavel Feldman
Comment 2 2010-02-15 12:13:05 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog A LayoutTests/inspector/syntax-highlight-html-expected.txt A LayoutTests/inspector/syntax-highlight-html.html M WebCore/ChangeLog M WebCore/inspector/front-end/SourceHTMLTokenizer.js M WebCore/inspector/front-end/SourceHTMLTokenizer.re2js Committed r54780
Note You need to log in before you can comment on or make changes to this bug.