mintchaos / typogrify

A set of Django template filters to make caring about typography on the web a bit easier.
http://static.mintchaos.com/projects/typogrify/
Other
168 stars 29 forks source link

Add support for Jinja 3.1 #60

Closed jyelloz closed 2 years ago

jyelloz commented 2 years ago

Jinja 3.1.x has removed the jinja2.Markup function which was deprecated in Jinja 3.0.x which now causes the template functions in this package to break.

Added some fallback imports just to reduce the possibility of breakage with users running the latest version of typogrify and older versions of Flask/Jinja for whatever reason.

See:

justinmayer commented 2 years ago

Many thanks for the enhancement, Jordan! 🥇