From 375cae5dbea8edc3c30439522c2c72f5e0c2b566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20=C5=A0altenis?= Date: Sun, 14 Apr 2013 01:43:21 +0300 Subject: [PATCH] Add HTML_SKIP_SCRIPT to MarkdownCommon --- markdown.go | 1 + 1 file changed, 1 insertion(+) diff --git a/markdown.go b/markdown.go index bb2232f..3e4cc28 100644 --- a/markdown.go +++ b/markdown.go @@ -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