flask-share icon indicating copy to clipboard operation
flask-share copied to clipboard

ImportError: cannot import name 'Markup' from 'flask'

Open Ezra0M opened this issue 1 year ago • 0 comments

Kindly change the import code below in the init.py from: from flask import current_app, request, Blueprint, url_for, Markup

to: from flask import current_app, request, Blueprint, url_for, from markupsafe import Markup

This will solve the ImportError been experienced when running flask 3.0.0 and above

Ezra0M avatar Nov 28 '24 15:11 Ezra0M