From c3798bfa95139d67fb12d2382b720aed51d8e6b6 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Fri, 13 Sep 2024 11:03:53 +0800 Subject: [PATCH] fix: Internal letter hyperlinks cannot be redirected --- apps/common/utils/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/utils/common.py b/apps/common/utils/common.py index 4715906df..cb4794b66 100644 --- a/apps/common/utils/common.py +++ b/apps/common/utils/common.py @@ -427,7 +427,7 @@ def is_macos(): def convert_html_to_markdown(html_str): h = html2text.HTML2Text() h.body_width = 0 - h.ignore_links = True + h.ignore_links = False markdown = h.handle(html_str) markdown = markdown.replace('\n\n', '\n')