mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 23:20:37 +00:00
fix: Internal letter hyperlinks cannot be redirected
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user