Trying Flask-Modals today (through the BS5 example), I got an error indicating missing Markup. So, I fixed it removing any version mention in requirements.txt to get all last ones, and changing modal.py as follow:
# from jinja2.utils import markupsafe
from markupsafe import Markup
# return markupsafe.Markup(render_template('modals/modalMessages.html'))
return Markup(render_template('modals/modalMessages.html'))
However, nice. Bravo!
Trying Flask-Modals today (through the BS5 example), I got an error indicating missing Markup. So, I fixed it removing any version mention in requirements.txt to get all last ones, and changing modal.py as follow:
However, nice. Bravo!