Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlntv committed Apr 29, 2024
1 parent 1e273cd commit 6365b40
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==3.0.2
mistune==0.8.4
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 mistune.html(text)
return markupsafe.Markup(mistune.markdown(text))


def class_reference(component=None):
Expand Down

0 comments on commit 6365b40

Please sign in to comment.