jinja2.Markup()
fails without deprecation warning
#1438
Milestone
jinja2.Markup()
fails without deprecation warning
#1438
There might not be anything to do now, but the code that issues a
DeprecationWarning
since 3.0.0rc2 fails with an exception whenjinja2.utils.Markup
is used without arguments. The previous RC worked.The correct fix is to switch to
markupsafe
, but the exception makes it hard to find if an application usesMarkup()
first.While looking for the cause, I found that documentation for the autoescape argument for
jinja2.Environment
mentionsMarkup
without much context; is that an issue?Environment:
The text was updated successfully, but these errors were encountered: