From a1267ca9d4371744f0f41d7e16234af4e0175aa7 Mon Sep 17 00:00:00 2001 From: Maximilian Blazek <68336485+dgtlntv@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:42:37 +0200 Subject: [PATCH] update mistune? --- vanilla/requirements.txt | 2 +- vanilla/webapp/app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vanilla/requirements.txt b/vanilla/requirements.txt index 0a5d135..a43325a 100644 --- a/vanilla/requirements.txt +++ b/vanilla/requirements.txt @@ -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 diff --git a/vanilla/webapp/app.py b/vanilla/webapp/app.py index a5c21a2..6e95b91 100644 --- a/vanilla/webapp/app.py +++ b/vanilla/webapp/app.py @@ -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):