comparison sat_templates/templates/default/ticket/item.html @ 175:c0e7389005ff

ticket/item: removed "urlize" filter from body, as we now use XHTML
author Goffi <goffi@goffi.org>
date Wed, 27 Feb 2019 08:46:44 +0100
parents 4a03d0a6839b
children
comparison
equal deleted inserted replaced
174:46c58fb996dd 175:c0e7389005ff
33 {% endif %} 33 {% endif %}
34 {{ xmlui.generate(item, 34 {{ xmlui.generate(item,
35 form=false, 35 form=false,
36 filters={'created': {'filters': ['date_fmt'], 'filters_args':[{'fmt': 'short'}]}, 36 filters={'created': {'filters': ['date_fmt'], 'filters_args':[{'fmt': 'short'}]},
37 'updated': {'filters': ['date_fmt'], 'filters_args':[{'fmt': 'short'}]}, 37 'updated': {'filters': ['date_fmt'], 'filters_args':[{'fmt': 'short'}]},
38 'body': {'filters': ['urlize'], 'filters_args':[{'nofollow': True, 'rel': 'noopener noreferrer'}]}}, 38 'body': {'filters_args':[{'nofollow': True, 'rel': 'noopener noreferrer'}]}},
39 )}} 39 )}}
40 </div> 40 </div>
41 {% if comments is defined %} 41 {% if comments is defined %}
42 <div id="blog_items"> 42 <div id="blog_items">
43 {{ blog.show_items(comments|reverse, expanded=true) }} 43 {{ blog.show_items(comments|reverse, expanded=true) }}