Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlntv committed Apr 29, 2024
1 parent a1267ca commit 568322d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vanilla/webapp/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ def global_template_context():

@app.template_filter()
def markdown(text):
return markupsafe.Markup(mistune.html(text))
markdown = mistune.create_markdown(escape=False)
return markupsafe.Markup(markdown(text))


def class_reference(component=None):
Expand Down

0 comments on commit 568322d

Please sign in to comment.