diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-07-06 03:07:02 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-07-06 17:24:41 -0700 |
commit | a3c0c410b8774c710517a3c87e9bc97120ea0589 (patch) | |
tree | 15217e646a91d4c50abe95976ef5a40bbaf76ed9 | |
parent | ea0a09aef1632cd6721ede8b8e3e908660bc4619 (diff) | |
download | pandoc-a3c0c410b8774c710517a3c87e9bc97120ea0589.tar.gz |
slidy.js: Avoid string literal "</script>".
It causes problems when the script is embedded with the
--offline option.
-rw-r--r-- | slidy/slidy.min.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slidy/slidy.min.js b/slidy/slidy.min.js index b1ea6d29b..c26b4d742 100644 --- a/slidy/slidy.min.js +++ b/slidy/slidy.min.js @@ -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(); }, |