amohanta / google-caja

Automatically exported from code.google.com/p/google-caja
0 stars 0 forks source link

parsing anomaly with '</' in script #700

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
<script>
var b1 = '</b>';      // ok
var b2 = '</b'+'>';   // ok
var b3 = '</b' + '>'; // causes error
</script>

error is:
LINT: :5+10: End of file seen and there were open elements.
ERROR: :5+1 - 2: Unexpected token <

browsers are fine with all three.  I'm not sure what's going on, it seems
to be somewhere in the htmlparser lib.

Original issue reported on code.google.com by felix8a on 18 Aug 2008 at 2:09

GoogleCodeExporter commented 9 years ago
I think this was fixed by the fix to issue 556

Original comment by felix8a on 15 Oct 2008 at 9:13