W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2011

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 20 Jul 2011 12:08:38 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-13309-2486@http.www.w3.org/Bugs/Public/>

           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,

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 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:55 UTC