Good morning/day/evening.
First of all thank you for the SgmlReader - I've been using it quite a log and it's really helpful library.
I've encountered an 'issues' - SgmlReader does not handle javascript strings correctly. Here is an sample of 'valid' html that would work in all browsers but SgmlReader throws an "InvalidOperationException" with error message: "There was no XML start tag open.":
It happens because SgmlReader tries to parse html in document.write parameter and does it incorrect due to presence of carriage return symbols and that closed tags are splitted.<html>
<body>
<div>
<script type="text/javascript">document.write('<div><script></scr' + 'ipt>\n </div><!--\n<script></scr' + 'ipt> -->');</script>
</div>
</body>
</html>
Can you think of any workaround for this issues?
Thank you


