1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-11-26 20:14:43 +01:00

Fix previous commit

Backslash was not removed from output.
This commit is contained in:
neclepsio 2015-04-22 14:04:08 +02:00
parent 2824a549c3
commit d4c83fb4da

View File

@ -174,6 +174,9 @@ func lineBreak(p *parser, out *bytes.Buffer, data []byte, offset int) int {
return 0
}
if precededByBackslash && eol > 0 {
out.Truncate(eol - 1)
}
p.r.LineBreak(out)
return 1
}