[Bug 13309] New: HTML and XHTML handle newline differently

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13309

           Summary: HTML and XHTML handle newline differently
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: peaceable_whale@hotmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


text/html and application/xhtml+xml documents currently have 2 different
newline handling rules, causing inconsistent rendering even when the markup is
the same. The rule for text/html ignores character reference of U+000D CARRIAGE
RETURN (Section 8.1.3.1 of HTML 5 spec) while the rule for application/xhtml
document translates both the two-character sequence #xD #xA and any #xD that is
not followed by #xA to a single #xA character. (Section 2.11 of XML spec).

Should HTML 5 follow the handling rule of XML?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 20 July 2011 12:08:43 UTC