From b2c066f447ebcac5cbcaeee144c5603d67919141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=A4=952077?= <274166795@qq.com> Date: Tue, 15 Jul 2025 22:43:43 +0800 Subject: [PATCH] Update build-book-en.yaml --- .github/workflows/build-book-en.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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