Skip to content

Commit 4433623

Browse files
committed
Drop deprecated enable_attributes
This was always default, but since 3.0 the whole named argument was dropped.
1 parent a1aaecb commit 4433623

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ def extendMarkdown(self, md):
108108

109109
def parse_markdown(text, allow_html=False):
110110
if allow_html:
111-
return markdown.markdown(text, enable_attributes=False)
111+
return markdown.markdown(text)
112112
ext = [EscapeHtml()]
113-
return markdown.markdown(text, extensions=ext, enable_attributes=False)
113+
return markdown.markdown(text, extensions=ext)
114114

115115

116116
def groupby_preserve_order(iterable, keyfunc):

0 commit comments

Comments
 (0)