diff --git a/.github/workflows/build-book-en.yaml b/.github/workflows/build-book-en.yaml index f800b07..854ee10 100644 --- a/.github/workflows/build-book-en.yaml +++ b/.github/workflows/build-book-en.yaml @@ -378,7 +378,7 @@ jobs: plain_text_for_desc = strip_markdown_html(text_from_list_item) new_description = plain_text_for_desc[:157] # Truncate for "..." if len(plain_text_for_desc) > 160: - new_description += "..." + new_description += "." if new_description: # Only set description if plain_text_for_desc is not empty parsed_fm['description'] = new_description @@ -479,4 +479,4 @@ jobs: echo "检测到文件变更,正在提交..." git commit -m "chore(i18n): Auto-translate EN content with FM updates" git push - fi \ No newline at end of file + fi