Browse Source

Mousewheel paste

pull/1020/head
James Cracknell 10 years ago
parent
commit
41cc43208e
  1. 4
      modules/base/markdown.go

4
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:

Loading…
Cancel
Save