Closed link2xt closed 6 years ago
The second one now gives:
[TagPosition 1 1,TagOpen "div" [],TagPosition 1 6,TagOpen "?foo<" [("div","")],TagPosition 1 13,TagWarning "Unexpected \"/\"",TagPosition 1 17,TagWarning "Expected \"?>\""]
Which is what I believe you were hoping for.
I've released 0.14.4 with the fix included. Let me know if you find any more issues.
Bug #70 is fixed, but the same bug with bogus comments is not:
Note the
TagPosition 1 8
in the second example.