xmp
DOM and renderingTestcase:
Output:
The output above should read (according to IE and Firefox’s implementation):
testing... <b>sometext</b> <b>sometext</b> A & B, A & B, A &amp; B
And just for the record, so should the rendered text (but for the case where I ran into this, only the DOM was important and the element was removed from the document afterwards).