Skip to content

Issue fixed about Markup #5

@eanon

Description

@eanon

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions