We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the input to wordwrap starts with a word longer than the limit, it inserts a leading newline, but it doesn't make sense to add newline there.
print("|".. lume.wordwrap("supercalifragilisticexpialidocious", 20) .."|") -- expected: |supercalifragilisticexpialidocious| -- actual: | supercalifragilisticexpialidocious|
Using lume.wordwrap at 98847e7.
Easy to workaround by adding lume.trim().
lume.trim()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When the input to wordwrap starts with a word longer than the limit, it inserts a leading newline, but it doesn't make sense to add newline there.
Repro
Using lume.wordwrap at 98847e7.
Workaround
Easy to workaround by adding
lume.trim()
.The text was updated successfully, but these errors were encountered: