mirror of
https://github.com/caronc/apprise.git
synced 2025-06-21 02:07:43 +02:00
fixed deprication warning for Markdown (#1108)
This commit is contained in:
parent
da5caf73b3
commit
0d1f3d88af
@ -58,7 +58,8 @@ def markdown_to_html(content):
|
|||||||
"""
|
"""
|
||||||
Converts specified content from markdown to HTML.
|
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):
|
def text_to_html(content):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user