Skip to content

urlize_quoted_links filter is not registered correctly #6201

@dkliban

Description

@dkliban

Steps to reproduce

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>

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions