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

SUMMARY_MAX_LENGTH is applied in a wrong way to Vietnamese content #2982

Closed
2 tasks done
manhhomienbienthuy opened this issue Feb 18, 2022 · 0 comments · Fixed by #3002
Closed
2 tasks done

SUMMARY_MAX_LENGTH is applied in a wrong way to Vietnamese content #2982

manhhomienbienthuy opened this issue Feb 18, 2022 · 0 comments · Fixed by #3002
Assignees
Labels

Comments

@manhhomienbienthuy
Copy link
Contributor

manhhomienbienthuy commented Feb 18, 2022

  • I have read the Filing Issues and subsequent “How to Get Help” sections of the documentation.
  • I have searched the issues (including closed ones) and believe that this is not a duplicate.

Issue

When a site contains articles in Vietnamese, the summary on index page generated by pelican will be much shorter than SUMMARY_MAX_LENGTH. I use default setting for SUMMARY_MAX_LENGTH = 50, but it's obviously less than 50 words (only about 35-36 words). But the biggest problem is that, sometimes the last word is broken in the middle and only some first characters remaining. I copied generated results here, so that you can have a direct compare:

Bài toán FizzBuzz thì quá kinh điển rồi, có lẽ ai học lập trình cũng đã từng làm quen với bài toán này ít nhất một lần. Trong bài viết này, tôi sẽ tổng hợp một s […] 

When I used version 4.6.0, it had no problems. Here is the result

Bài toán FizzBuzz thì quá kinh điển rồi, có lẽ ai học lập trình cũng đã từng làm quen với bài toán này ít nhất một lần. Trong bài viết này, tôi sẽ tổng hợp một số các khác nhau để giải bài toán này với ngôn ngữ Python. Mục […] 
@avaris avaris self-assigned this Feb 27, 2022
manhhomienbienthuy added a commit to manhhomienbienthuy/pelican that referenced this issue May 2, 2022
manhhomienbienthuy added a commit to manhhomienbienthuy/pelican that referenced this issue May 2, 2022
manhhomienbienthuy added a commit to manhhomienbienthuy/pelican that referenced this issue May 2, 2022
manhhomienbienthuy added a commit to manhhomienbienthuy/pelican that referenced this issue May 8, 2022
pauloxnet pushed a commit to pauloxnet/pelican that referenced this issue Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants