Open GoogleCodeExporter opened 8 years ago
attaching test case
Original comment by eclecticgeek
on 8 Jun 2011 at 6:24
Attachments:
You'll need to change the tags in your script to something like this :
alert("<"+"/html>");
Only HTML5 parsers seem to handle this correctly, but we use the DOM extension,
which uses an HTML 4 parser, that doesn't handle this well.
A project like this http://code.google.com/p/html5lib/ could be used in the
future to be able to make it work.
Original comment by fabien.menager
on 13 Jun 2011 at 10:02
Or at least put an HTML5 doctype ;)
<!DOCTYPE html>
Original comment by fabien.menager
on 13 Jun 2011 at 10:12
Nice, I didn't try the HTML5 doctype. Other doctypes are also a possibility so
long as the script is enclosed in a CDATA section. Maybe we should write this
off as due to poorly-written HTML and add a FAQ entry?
Original comment by eclecticgeek
on 13 Jun 2011 at 3:17
Original comment by eclecticgeek
on 24 May 2013 at 3:00
Original issue reported on code.google.com by
eclecticgeek
on 8 Jun 2011 at 6:23