[Webkit-unassigned] [Bug 47082] New: Certain strings text nodes may be incorrectly parsed as a HTML entity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 4 06:22:11 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47082

           Summary: Certain strings text nodes may be incorrectly parsed
                    as a HTML entity
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://jsfiddle.net/RHkyt/
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andy at intelligroup.eu


I haven't managed to figure out the special circumstances in which this occurs, but I can reproduce it consistently in WebKit nightly, Safari 5 and Chrome 6.  A string consisting of an ampersand followed by an HTML entity name, BUT excluding the semi-colon suffix may be incorrectly rendered as the named entity.  At the time, I assumed this to be a bug in a Markdown editor and posted the following bug report:

http://meta.stackoverflow.com/questions/66554/html-entities-bug-with-pre-tags-in-markdown-and-webkit

This bug report provides further demonstration of the bug.  The simplest form of reproduction is the following HTML:

<html>
  <head></head>
  <body>&empty</body>
</html>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list