- From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
- Date: Tue, 21 Feb 2012 14:27:51 +0800
- To: Charles Pritchard <chuck@jumis.com>
- CC: WWW Style <www-style@w3.org>
(12/02/21 14:16), Charles Pritchard wrote: > On 2/20/12 7:42 PM, Kang-Hao (Kenny) Lu wrote: >> (12/02/20 13:03), Charles Pritchard wrote: >>> Examples: >>> <code><p>I am abusing the code tag</p></code> >> would not work if what's in<code> is tag soup, say<code><p></code> >> with code { content: html; } would render nothing. So for this scenario, >> what you need is<xmp>[1]. > > Well, it's only for the innerHTML of the root tag. > So that'd still show the string: "<p>" No, innerHTML would never give unclosed <p> last I check. Also, <code><p></code> is parsed as <code></code> <p> <code></code> </p> so none of the <code>s would have "<p>" shown. Perhaps if my example were <code><b><i></b></i></code>, it would have been clearer. Cheers, Kenny
Received on Tuesday, 21 February 2012 06:29:01 UTC