Insert CDATA around inline js/css in HTML, slidy.
This commit is contained in:
parent
835dc412d2
commit
c872d9f7ef
2 changed files with 3 additions and 2 deletions
|
@ -142,7 +142,8 @@ pandocToHtml opts (Pandoc (Meta title' authors' date') blocks) = do
|
|||
_ -> case lookup "mathml-script" (writerVariables opts) of
|
||||
Just s ->
|
||||
script ! [thetype "text/javascript"] <<
|
||||
primHtml s
|
||||
primHtml ("/*<![CDATA[*/\n" ++ s ++
|
||||
"/*]]>*/\n")
|
||||
Nothing -> noHtml
|
||||
else noHtml
|
||||
let newvars = [("highlighting-css", defaultHighlightingCss) |
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 8cb5fef740725ee51ffed5022faa097f21336bcd
|
||||
Subproject commit 8cd8b19598fa898498a7883d081f51615aa5fc12
|
Loading…
Add table
Reference in a new issue