Some safe/escape fixes for Atom feeds
- Legacy-Id: 1835
This commit is contained in:
parent
aef93342bf
commit
1de21aa5c8
|
@ -1,4 +1,5 @@
|
|||
{# Copyright The IETF Trust 2007, All Rights Reserved #}
|
||||
[{{ obj.get_username }}] {{ obj.comment_text|removetags:"b"|truncatewords:"15" }}
|
||||
{% load ietf_filters %}
|
||||
[{{ obj.get_username }}] {{ obj.comment_text|removetags:"b"|truncatewords:"15"|safe }}
|
||||
{% if obj.ballot %}[[ IESG {{ obj.get_ballot_display.upper }} ]]{% endif %}
|
||||
{% if not obj.document.rfc_flag %}[ version {{ obj.version }} ]{% endif %}
|
||||
|
|
1
ietf/templates/feeds/ipr_description.html
Normal file
1
ietf/templates/feeds/ipr_description.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{ obj|escape }}
|
1
ietf/templates/feeds/ipr_title.html
Normal file
1
ietf/templates/feeds/ipr_title.html
Normal file
|
@ -0,0 +1 @@
|
|||
{% load ietf_filters %}{{ obj|safe }}
|
|
@ -1,6 +1,7 @@
|
|||
{# Copyright The IETF Trust 2007, All Rights Reserved #}
|
||||
{% load ietf_filters %}
|
||||
{% if obj.by_secretariat %}
|
||||
Liaison statement submitted by email from {{ obj.from_body }} to {{ obj.submitter_name }} on {{ obj.submitted_date }}
|
||||
Liaison statement submitted by email from {{ obj.from_body|safe }} to {{ obj.submitter_name|safe }} on {{ obj.submitted_date }}
|
||||
{% else %}
|
||||
{{ obj.title }}
|
||||
{{ obj.title|safe }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue