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
1 changed files with 3 additions and 0 deletions

View File

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