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

[Bug 12235] Make <xmp> conforming

From: <bugzilla@jessica.w3.org>
Date: Sun, 08 May 2011 03:31:33 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QIuiT-0006M2-E6@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12235

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@hixie.ch

--- Comment #11 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-05-08 03:31:31 UTC ---
Proposal: allow <xmp> as an element with the same semantics as <pre> but
keeping the special parsing rules in HTML.

Pros: Experienced authors who are writing specs, HTML tutorials, programming
language blogs, or other pages containing snippets of code that can be expected
to contain < and & characters get to save the time of escaping their <s and &s.

Cons: Complicates the language, introduces yet another polyglot difference, may
be mistreated as a security feature, a pain to use if you have to later add
markup inside the block (e.g. to highlight a section), doesn't support
characters outside the character encoding of the page (as it can't get
entities).

I agree with Henri that this is a tough call.

-- 
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 Sunday, 8 May 2011 03:31:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:09 UTC