mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-07 19:29:16 +08:00
Merge pull request #229 from adrg/master
Fix styled paragraph newline text wrapping
This commit is contained in:
commit
731a0dd9af
@ -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