slidy.js: Avoid string literal "</script>".

It causes problems when the script is embedded with the
--offline option.
This commit is contained in:
John MacFarlane 2011-07-06 03:07:02 -07:00
parent ea0a09aef1
commit a3c0c410b8

2
slidy/slidy.min.js vendored
View file

@ -1195,7 +1195,7 @@ var w3c_slidy = {
var doc = document.getElementById("historyFrame").contentWindow.document;
doc.open("javascript:'<html></html>'");
doc.write("<html><head><script type=\"text/javascript\">window.parent.w3c_slidy.on_frame_loaded('"+
(hash) + "');</script></head><body>hello mum</body></html>");
(hash) + "');\74/script></head><body>hello mum</body></html>");
doc.close();
},