fixed deprication warning for Markdown (#1108)

pull/1109/head
Chris Caron 2024-04-13 19:16:31 -04:00 committed by GitHub
parent da5caf73b3
commit 0d1f3d88af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@ def markdown_to_html(content):
"""
Converts specified content from markdown to HTML.
"""
return markdown(content, extensions=['nl2br', 'tables'])
return markdown(content, extensions=[
'markdown.extensions.nl2br', 'markdown.extensions.tables'])
def text_to_html(content):