1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-11-26 20:14:43 +01:00

Add HTML_SKIP_SCRIPT to MarkdownCommon

This commit is contained in:
Vytautas Šaltenis 2013-04-14 01:43:21 +03:00
parent 85e2207cd0
commit 375cae5dbe

View File

@ -220,6 +220,7 @@ func MarkdownCommon(input []byte) []byte {
htmlFlags |= HTML_USE_SMARTYPANTS
htmlFlags |= HTML_SMARTYPANTS_FRACTIONS
htmlFlags |= HTML_SMARTYPANTS_LATEX_DASHES
htmlFlags |= HTML_SKIP_SCRIPT
renderer := HtmlRenderer(htmlFlags, "", "")
// set up the parser