-
Notifications
You must be signed in to change notification settings - Fork 554
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
同问,英文的文章,如何可以排版正确呢? #95
Comments
所以我加了个判断 |
如果是被切割了,直接按照最后一个空格来截取,结束这一行。str = str.substring(0, str.lastIndexOf(" ") + 1); |
//解决行末单词拆分的问题 我是在loadPages中将wordCount重新计算的 |
就是英文是按照单词来解释的,但是按照中文来计算,那么单词就被切割掉了,最后一行的单词就变得不完整了,并延申到第二行去了
The text was updated successfully, but these errors were encountered: