0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 16:52:47 +01:00

Mousewheel paste

This commit is contained in:
James Cracknell 2015-03-08 22:30:15 -06:00
parent 127eb439d7
commit 41cc43208e

View file

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