We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put the following in a template:
{% autoescape off %}{% for key, val in response_headers|items %} <b>{{ key }}:</b> <span class="lit">{{ val|break_long_headers|urlize_quoted_links|my_filter }}</span>{% endfor %} </span>{{ content|urlize_quoted_links|my_filter }}</pre>{% endautoescape %} </div>
my_filter receives unescaped input text
my_filter receives escaped text
I've put together a PR for this issue. #6191
The text was updated successfully, but these errors were encountered:
@tomchristie Please take a look at this issue. I made the PR based on the documentation from django[0].
[0] https://docs.djangoproject.com/en/2.1/howto/custom-template-tags/#filters-and-auto-escaping
Sorry, something went wrong.
Somehow this was detached from the milestone.. either way. PR was added, so not an issue.
No branches or pull requests
Steps to reproduce
Put the following in a template:
Expected behavior
my_filter receives unescaped input text
Actual behavior
my_filter receives escaped text
I've put together a PR for this issue. #6191
The text was updated successfully, but these errors were encountered: