Skip to content

fix: preserve tabs when text() wraps with maxWidth/maxHeight - #9061

Open
deepshekhardas wants to merge 1 commit into
processing:mainfrom
deepshekhardas:fix/8469-text-tab-v2
Open

fix: preserve tabs when text() wraps with maxWidth/maxHeight#9061
deepshekhardas wants to merge 1 commit into
processing:mainfrom
deepshekhardas:fix/8469-text-tab-v2

Conversation

@deepshekhardas

Copy link
Copy Markdown

Fixes #8469

_splitOnBreaks\ was converting tabs to two spaces before wrapping, and _lineate\ used \ rim()\ which stripped them. Now tabs are kept in the wrapped output while width measurement still accounts for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

text() with maxWidth and maxHeight removes '\t' tabs

1 participant