summaryrefslogtreecommitdiffstats
path: root/modules/base/markdown.go
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-04-10 08:21:51 +0800
committerslene <vslene@gmail.com>2014-04-10 08:21:51 +0800
commit3487f1728530fd2b0a447fe6fd7ef079cb53eed4 (patch)
tree71bafe828f0e8214b18d621e7f9497381bd0f6d7 /modules/base/markdown.go
parent9f7bd5007b256d25c387499606720dca461a181c (diff)
downloadgitea-3487f1728530fd2b0a447fe6fd7ef079cb53eed4.tar.gz
gitea-3487f1728530fd2b0a447fe6fd7ef079cb53eed4.zip
markdown render html
Diffstat (limited to 'modules/base/markdown.go')
-rw-r--r--modules/base/markdown.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/markdown.go b/modules/base/markdown.go
index 1893ccee6e..e1ff3856ec 100644
--- a/modules/base/markdown.go
+++ b/modules/base/markdown.go
@@ -140,7 +140,7 @@ func RenderMarkdown(rawBytes []byte, urlPrefix string) []byte {
// htmlFlags |= gfm.HTML_USE_SMARTYPANTS
// htmlFlags |= gfm.HTML_SMARTYPANTS_FRACTIONS
// htmlFlags |= gfm.HTML_SMARTYPANTS_LATEX_DASHES
- htmlFlags |= gfm.HTML_SKIP_HTML
+ // htmlFlags |= gfm.HTML_SKIP_HTML
htmlFlags |= gfm.HTML_SKIP_STYLE
htmlFlags |= gfm.HTML_SKIP_SCRIPT
htmlFlags |= gfm.HTML_GITHUB_BLOCKCODE