Bug 34934

Summary: Web Inspector: incorrect syntax highlighting as HTML in a script tag
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://daringfireball.net
Attachments:
Description Flags
Bug
none
[PATCH] Proposed fix. timothy: review+

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.