Bug 97798

Summary: Web Inspector: Elements: Show entities in edit as HTML.
Product: WebKit Reporter: eustas.bug
Component: Web Inspector (Deprecated)Assignee: eustas.bug
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, caseq, eustas.bug, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch none

eustas.bug
Reported 2012-09-27 09:31:41 PDT
In elements tree entities like " ", " " are shown. But in "Edit as HTML" mode they are substituted with Unicode chars. For better consistency, these entities should be rendered the same way both in tree and edit field.
Attachments
Patch (5.45 KB, patch)
2012-09-27 09:36 PDT, eustas.bug
no flags
Patch (5.50 KB, patch)
2012-09-27 23:29 PDT, eustas.bug
no flags
eustas.bug
Comment 1 2012-09-27 09:36:40 PDT
Alexander Pavlov (apavlov)
Comment 2 2012-09-27 22:10:22 PDT
Comment on attachment 166021 [details] Patch r=me
Alexander Pavlov (apavlov)
Comment 3 2012-09-27 22:16:22 PDT
Comment on attachment 166021 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=166021&action=review > Source/WebCore/ChangeLog:9 > + But in "Edit as HTML" mode they are substituted with Unicode chars. nit: "substituted with" -> "replaced by" ("a substitute for ..." is something that comes into the game INSTEAD of something else) > Source/WebCore/ChangeLog:14 > + * inspector/front-end/ElementsTreeOutline.js: Entities unescaped. This comment is not quite correct. Entity references are rendered in place of invisible characters in the "Edit as HTML" mode.
eustas.bug
Comment 4 2012-09-27 23:29:13 PDT
eustas.bug
Comment 5 2012-09-27 23:29:44 PDT
Comment on attachment 166021 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=166021&action=review >> Source/WebCore/ChangeLog:9 >> + But in "Edit as HTML" mode they are substituted with Unicode chars. > > nit: "substituted with" -> "replaced by" ("a substitute for ..." is something that comes into the game INSTEAD of something else) Fixed. >> Source/WebCore/ChangeLog:14 >> + * inspector/front-end/ElementsTreeOutline.js: Entities unescaped. > > This comment is not quite correct. Entity references are rendered in place of invisible characters in the "Edit as HTML" mode. Fixed.
WebKit Review Bot
Comment 6 2012-09-28 00:05:00 PDT
Comment on attachment 166149 [details] Patch Clearing flags on attachment: 166149 Committed r129856: <http://trac.webkit.org/changeset/129856>
WebKit Review Bot
Comment 7 2012-09-28 00:05:04 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.