Fix typo in the styled paragraph

This commit is contained in:
Adrian-George Bostan 2018-10-04 19:45:39 +03:00
parent 6ff5fa3c02
commit ae264d2614

View File

@ -281,7 +281,7 @@ func (p *StyledParagraph) wrapText() error {
}
// newline wrapping.
if glyph == "controllf" {
if glyph == "controlLF" {
// moves to next line.
line = append(line, TextChunk{
Text: strings.TrimRightFunc(string(part), unicode.IsSpace),