deb17 / flask-modals

Modals for flask
MIT License
9 stars 13 forks source link

Fixed issue with jinja2 Markup #3

Closed 78wesley closed 1 year ago

78wesley commented 1 year ago

Fixed issue with jinja2 Markup See issue #2

JFincher42 commented 1 year ago

This missed one more call to Markup() on line 113:

html = Markup(nprogress_html + main_html)

It should be:

html = markupsafe.Markup(nprogress_html + main_html)

Otherwise the Bootstrap5 example fails to run.

maximesainlot commented 1 year ago

Also might want to update the requirements.txt file with this accepted answer for the Bootstrap5 example to not fail.