Skip to content

Commit

Permalink
update mistune?
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlntv committed Apr 29, 2024
1 parent 04047b9 commit a1267ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vanilla/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ canonicalwebteam.discourse==5.4.9
canonicalwebteam.templatefinder==1.0.0
canonicalwebteam.search==1.3.0
canonicalwebteam.image-template==1.3.1
mistune==0.8.4
mistune==3.0.2
pyyaml==6.0.1
2 changes: 1 addition & 1 deletion vanilla/webapp/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def global_template_context():

@app.template_filter()
def markdown(text):
return markupsafe.Markup(mistune.markdown(text))
return markupsafe.Markup(mistune.html(text))


def class_reference(component=None):
Expand Down

0 comments on commit a1267ca

Please sign in to comment.