mirror of
https://github.com/unidoc/unipdf.git
synced 2025-04-30 13:48:51 +08:00
Fix typo in the styled paragraph
This commit is contained in:
parent
6ff5fa3c02
commit
ae264d2614
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user