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