From 56e512ce19e21186ada5296c0a6caf32dc010835 Mon Sep 17 00:00:00 2001 From: mdeane07 <60923134+mdeane07@users.noreply.github.com> Date: Mon, 20 Mar 2023 01:25:10 +0000 Subject: [PATCH] Add missed markupsafe to modal.py See [Issue #2](https://github.com/deb17/flask-modals/issues/2) and its comments. --- flask_modals/modal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_modals/modal.py b/flask_modals/modal.py index 41790cb..7feac71 100644 --- a/flask_modals/modal.py +++ b/flask_modals/modal.py @@ -110,6 +110,6 @@ def load(self): nprogress_html = render_template('modals/nprogress.html') main_html = render_template('modals/jstemplate.html') - html = Markup(nprogress_html + main_html) + html = markupsafe.Markup(nprogress_html + main_html) return html