2010-09-02 15:15, Mark Clements (HappyDog) skrev:
"Andreas
Jonsson"<andreas.jonsson(a)kreablo.se> wrote in message
news:4C72738C.80704@kreablo.se...
* The call to the "begin" method is
delayed until some actual inlined
content is produced. The call is never taken if an "end" event is
recieved before such content.
Does this mean that constructs such as<span
id="JSPlaceholder"></span> are
obliterated by the lexer? Some empty inline (and block) elements may have
an important purpose as a JS DOM hook, and should not be removed from the
output stream.
Yes, that is correct. This is what the original parser does for <i> and
<b>. But now when you mention it, I realize that this is probably just
an artefact of cleaning up the apostrophe mess.
I changed it so that inlined empty html elements are always included.
/Andreas