summaryrefslogtreecommitdiffstats
path: root/modules/base/markdown.go
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-01-27 21:48:57 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-01-27 21:48:57 +0100
commit1ab8a60d737b278c176d0b6204843a79dab0e878 (patch)
tree3d7c1e2c721b5fd4df5b5f50b5308f663451f2f0 /modules/base/markdown.go
parentd94342967263ab306f4726f25a726ff6091d9fbc (diff)
downloadgitea-1ab8a60d737b278c176d0b6204843a79dab0e878.tar.gz
gitea-1ab8a60d737b278c176d0b6204843a79dab0e878.zip
Not working, but slightly better...
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 62db945a53..05ee5f4a51 100644
--- a/modules/base/markdown.go
+++ b/modules/base/markdown.go
@@ -340,7 +340,7 @@ OUTER_LOOP:
func RenderMarkdown(rawBytes []byte, urlPrefix string, metas map[string]string) []byte {
result := RenderRawMarkdown(rawBytes, urlPrefix)
result = PostProcessMarkdown(result, urlPrefix, metas)
- result = BuildSanitizer().SanitizeBytes(result)
+ result = Sanitizer.SanitizeBytes(result)
return result
}