Closed wenfw closed 7 months ago
e.g.
The code below returns a SafeString.
{{ some_html_string | filter_returns_safe_string }}
Then the code below should return a SafeString too, but it does not.
{{ some_html_string | filter_returns_safe_string | upper }}
Just discovered that we can use this approach:
{{ some_html_string | filter_returns_safe_string | upper | safe }}
I'm going to close this issue. Thanks.
e.g.
The code below returns a SafeString.
Then the code below should return a SafeString too, but it does not.