summaryrefslogtreecommitdiffstats
path: root/modules/base/markdown.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-24 19:29:35 -0500
committerUnknwon <u@gogs.io>2015-11-24 19:29:35 -0500
commitba92f4687eae4a1f37a272c09e5aac919b069485 (patch)
treeb30c7b67b641e3cf0d7eff2a590b953280e54cc0 /modules/base/markdown.go
parent968edb3e4450a82fb4756603057caca55e6aea5b (diff)
downloadgitea-ba92f4687eae4a1f37a272c09e5aac919b069485.tar.gz
gitea-ba92f4687eae4a1f37a272c09e5aac919b069485.zip
minor fix markdown post process
Diffstat (limited to 'modules/base/markdown.go')
-rw-r--r--modules/base/markdown.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/base/markdown.go b/modules/base/markdown.go
index 06de146726..420392282e 100644
--- a/modules/base/markdown.go
+++ b/modules/base/markdown.go
@@ -300,6 +300,7 @@ OUTER_LOOP:
case html.EndTagToken:
if len(startTags) == 0 {
+ buf.WriteString(token.String())
break
}