mirror of
https://github.com/danog/blackfriday.git
synced 2024-12-03 09:57:57 +01:00
Couple more tests
This commit is contained in:
parent
dcaaa9b5dc
commit
85e2207cd0
@ -85,6 +85,12 @@ func TestRawHtmlTag(t *testing.T) {
|
|||||||
|
|
||||||
"<script>alert()</script>\n",
|
"<script>alert()</script>\n",
|
||||||
"<p>alert()</p>\n",
|
"<p>alert()</p>\n",
|
||||||
|
|
||||||
|
"zz <script src='foo'></script>\n",
|
||||||
|
"<p>zz </p>\n",
|
||||||
|
|
||||||
|
"zz <script src=foo></script>\n",
|
||||||
|
"<p>zz </p>\n",
|
||||||
}
|
}
|
||||||
doTestsInlineParam(t, tests, 0, HTML_SKIP_STYLE|HTML_SKIP_SCRIPT)
|
doTestsInlineParam(t, tests, 0, HTML_SKIP_STYLE|HTML_SKIP_SCRIPT)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user