- From: Simon Pieters <zcorpan@gmail.com>
- Date: Wed, 20 Jun 2007 21:50:55 +0200
It seems that IE stops serializing .innerHTML after it has dealt with the children of a <plaintext> element. http://simon.html5.org/test/html/serializing/plaintext/ If we want to copy that, then change: Append the value of running the HTML fragment serialisation algorithm on the child element (thus recursing into this algorithm for that element), followed by a U+003C LESS-THAN SIGN (<) character, a U+002F SOLIDUS (/) character, the element's tag name again, and finally a U+003E GREATER-THAN SIGN (>) character. ...to: Append the value of running the HTML fragment serialisation algorithm on the child element (thus recursing into this algorithm for that element). If the child node is a plaintext element, then skip to the next step of this algorithm. Otherwise, append a U+003C LESS-THAN SIGN (<) character, a U+002F SOLIDUS (/) character, the element's tag name again, and finally a U+003E GREATER-THAN SIGN (>) character. -- Simon Pieters
Received on Wednesday, 20 June 2007 12:50:55 UTC