ReducedHTMLParser (used by AddResource class) appears to be totally broken.
I found that my script references were getting inserted right into the
middle of the body of my html page. After inserting some debug code, I
have found that
closedStartTag
is being called every time that "//-->" is encountered in the page. And
that's a lot, as that sequence is generated whenever an inline script is
inserted into the page.
This problem breaks every page containing a component that inserts
javascript into the page header (jscookmenu, HtmlTree, etc).
Regards,
Simon