git.iko.soy/typeable/pandoc
on master help sign in
slidy.js: Avoid string literal "</script>".

It causes problems when the script is embedded with the --offline option.

commita3c0c410b8774c710517a3c87e9bc97120ea0589 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 6 Jul 2011, 03:07 (15 years ago) parentea0a09a
1 file changed+1−1
slidy/slidy.min.js+1−1
slidy/slidy.min.js+1−1
@@ -1195,7 +1195,7 @@ var w3c_slidy = {
11951195 var doc = document.getElementById("historyFrame").contentWindow.document;
11961196 doc.open("javascript:'<html></html>'");
11971197 doc.write("<html><head><script type=\"text/javascript\">window.parent.w3c_slidy.on_frame_loaded('"+
1198− (hash) + "');</script></head><body>hello mum</body></html>");
1198+ (hash) + "');\74/script></head><body>hello mum</body></html>");
11991199 doc.close();
12001200 },
12011201