Skip to content
New issue

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

cjkwrap.fill not working unless keyword argument break_long_words is True #1

Open
kkew3 opened this issue Apr 1, 2022 · 0 comments

Comments

@kkew3
Copy link

kkew3 commented Apr 1, 2022

For example,

print(cjkwrap.fill(u"最終的に良いラッピング", 10, break_long_words=False))

gives

最終的に良いラッピング

Since CJK characters can be broken at every character boundary, break_long_words=False shouldn't, as far as I'm concerned, prevent wrapping from happening.

Thank you so much!

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

No branches or pull requests

1 participant