You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a similar issue but without involving templates and "safe" filters. I simply have a <noscript> tag, which includes other HTML tags. The output after minifying has the angle brackets of the contained tags escaped to < and >.
Django template
<!-- ths "code" variable includes the <noscript> tag --> {{ code|safe }}
Template output with htmlmin middlewares added to
settings.MIDDLEWARE_CLASSES
Template output after removing htmlmin middlewares:
The text was updated successfully, but these errors were encountered: