diff options
author | James Cracknell <james.h.cracknell@gmail.com> | 2015-03-08 22:30:15 -0600 |
---|---|---|
committer | James Cracknell <james.h.cracknell@gmail.com> | 2015-03-08 22:30:15 -0600 |
commit | 41cc43208e5225f24dbb7d9f7c120d4e7ae45124 (patch) | |
tree | 9f3737da86e8ba5f770cbffb02b7b92723f225e2 /modules | |
parent | 127eb439d74ed3f5992221ccc7db1d031c3177dd (diff) | |
download | gitea-41cc43208e5225f24dbb7d9f7c120d4e7ae45124.tar.gz gitea-41cc43208e5225f24dbb7d9f7c120d4e7ae45124.zip |
Mousewheel paste
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base/markdown.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/base/markdown.go b/modules/base/markdown.go index aeb0aa7d5d..0c40fe8986 100644 --- a/modules/base/markdown.go +++ b/modules/base/markdown.go @@ -234,10 +234,6 @@ func PostProcessMarkdown(rawHtml []byte, urlPrefix string) []byte { var buf bytes.Buffer tokenizer := html.NewTokenizer(bytes.NewReader(rawHtml)) for html.ErrorToken != tokenizer.Next() { - - // A parse error has occurred, so return the original input unmodified - return rawHtml - token := tokenizer.Token() switch token.Type { case html.TextToken: |