-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The self-contained mode can mangle JavaScript in Markdown #1248
Comments
Thanks for the hint! Here is a full example: http://stackoverflow.com/q/23021317/559676 I had to turn off the According to the documentation, the text between
|
Sorry about the @yihui, my bad re: [Edit] - I forgot I had linked the RStudio pandoc to ~/.cabal/bin/pandoc which is version |
This is a bug in tagsoup 0.13 which has been fixed in tagsoup 0.13.1: I can confirm that the problem goes away if you compile against tagsoup 0.13.1:
|
This fixes a bug in parsing of script tags. See #1248.
Perfect. Thanks! |
Here is a minimal test case
test.md
:I convert it to HTML using Pandoc 1.12.3:
And I get the HTML output:
There are two problems in the conversion:
pow *= 2;
becomespow *="2;"
, which is invalid in JavaScript;</script>
becomes< script>
(/
was removed for some reason).The text was updated successfully, but these errors were encountered: