wrapWords
seems to ignore linebreaks when wrapping, leaving breaks in the wrong place
#14579
Labels
wrapWords
seems to ignore linebreaks when wrapping, leaving breaks in the wrong place
#14579
I want to use
wrapwords
to ensure that some text is not more than x chars wide. I would expect that either:I get a third behaviour - lines are broken every x characters regardless of whether a newline has been seen in the meantime.
Example
Current Output
Expected Output
Test passes
Is this a bug or a feature? If a feature, it might help to document it. If a bug, what is the desired/expected behaviour?
The text was updated successfully, but these errors were encountered: