Skip to content

Commit

Permalink
Add a test for issue #40
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis committed Feb 17, 2013
1 parent 344e0c8 commit 30156b9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions spec/block_docs/issue40.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Script tags should be OK with unescaped ampersands. https://github.com/bhollis/maruku/issues/40
NOTE: CDATA is output because we use XHTML - for HTML mode it should be omitted.
*** Parameters: ***
{}
*** Markdown input: ***
<script>
var x = true && true;
</script>
*** Output of inspect ***
md_el(:document, md_html("<script>\n var x = true && true;\n</script>"))
*** Output of to_html ***
<script><![CDATA[
var x = true && true;
]]></script>




0 comments on commit 30156b9

Please sign in to comment.