Commits

Julian Brost committed 6b6f740

Removed escape filters from templates. They are unnecessary now as autoescaping was enabled.

Comments (0)

Files changed (21)

MoinMoin/templates/base.html

             <meta name="edit_on_doubleclick" content="1" />
     {%- endif %}
     {% for name, content in theme_supp.meta_items -%}
-        <meta name="{{ name|e }}" content="{{ content|e }}" />
+        <meta name="{{ name }}" content="{{ content }}" />
     {% endfor %}
     {% endblock %}
 
 
     {% block head_title %}
     <title>
-    {%- if title -%}{{ title|e }}{% else %}{{ item_name|e }}{%- endif %} -
-    {%- if cfg.html_pagetitle -%} {{ cfg.html_pagetitle|e }}{% else %} {{ cfg.sitename|e }}{%- endif -%}
+    {%- if title -%}{{ title }}{% else %}{{ item_name }}{%- endif %} -
+    {%- if cfg.html_pagetitle -%} {{ cfg.html_pagetitle }}{% else %} {{ cfg.sitename }}{%- endif -%}
     </title>
     {% endblock %}
 
     {% block head_links %}
     <link rel="shortcut icon" href="{{ url_for('.static', filename='favicon.ico') }}" />
-    <link rel="archives" href="{{ url_for('frontend.history', item_name=item_name)|e }}" />
+    <link rel="archives" href="{{ url_for('frontend.history', item_name=item_name) }}" />
     {% set parent_item = theme_supp.parent_item(item_name) %}
     {%- if parent_item -%}
-        <link rel="up" href="{{ url_for('frontend.show_item', item_name=parent_item)|e }}" />
+        <link rel="up" href="{{ url_for('frontend.show_item', item_name=parent_item) }}" />
     {%- endif %}
     {% for media, name in theme_supp.stylesheets -%}
-        <link media="{{ media }}" rel="stylesheet" href="{{ theme_static('css/%s.css' % name)|e }}" />
+        <link media="{{ media }}" rel="stylesheet" href="{{ theme_static('css/%s.css' % name) }}" />
     {% endfor %}
     {% for media, url, title, alternate in cfg.stylesheets -%}
-        <link media="{{ media }}" href="{{ url|e }}"
-        {%- if title %} title="{{ title|e }}" {% endif -%}
+        <link media="{{ media }}" href="{{ url }}"
+        {%- if title %} title="{{ title }}" {% endif -%}
         rel={% if alternate -%}"alternate stylesheet"{% else%}"stylesheet"{%- endif -%}
         />
     {%- endfor %}
     {% if user.valid and user.css_url -%}
-        <link media="all" rel="stylesheet" title="{{ user.name|e }}'s stylesheet" href="{{ user.css_url|e }}" />
+        <link media="all" rel="stylesheet" title="{{ user.name }}'s stylesheet" href="{{ user.css_url }}" />
     {%- endif %}
     {% endblock %}
 
         <script src="{{ url_for('.static', filename='common/js/%s.js' % src) }}"></script>
     {% endfor %}    
     {% for type, src in cfg.external_scripts -%}
-        <script type="{{ type }}" src="{{ src|e }}"></script>
+        <script type="{{ type }}" src="{{ src }}"></script>
     {% endfor %}
     <!--[if lt IE 9]>
         {# TODO: use a local copy later #}

MoinMoin/templates/diff_text.html

               title="{{ _('No older revision') }}">←</span>
         {% else %}
         <a class="moin-diff-nav-link moin-diff-prev-link moin-diff-old-rev"
-           href="{{ url_for('frontend.diff', item_name=item_name, rev1=revno1older, rev2=revno2older)|e }}"
+           href="{{ url_for('frontend.diff', item_name=item_name, rev1=revno1older, rev2=revno2older) }}"
            title="{{ _('Use older revision') }}">←</a>
         {% endif %}
-        {{ _('Revision %(revno)d as of %(date_time)s', revno=revno, date_time=date_time|datetimeformat)|e }}
+        {{ _('Revision %(revno)d as of %(date_time)s', revno=revno, date_time=date_time|datetimeformat) }}
         {% if max_reached %}
         <span class="moin-diff-no-nav-link moin-diff-next-link moin-diff-old-rev"
               title="{{ _('No newer revision') }}">→</span>
         {% else %}
         <a class="moin-diff-nav-link moin-diff-next-link moin-diff-old-rev"
-           href="{{ url_for('frontend.diff', item_name=item_name, rev1=revno1newer, rev2=revno2newer)|e }}"
+           href="{{ url_for('frontend.diff', item_name=item_name, rev1=revno1newer, rev2=revno2newer) }}"
            title="{{ _('Use newer revision') }}">→</a>
         {% endif %}
     </div>

MoinMoin/templates/editbar.html

 <ul class="moin-editbar">
     {% if 'Show' in cfg.edit_bar and 'show' not in cfg.actions_excluded -%}
         <li>
-        <a href="{{ url_for('frontend.show_item', item_name=item_name)|e }}" rel="nofollow"> {{ _('Show') }}</a>
+        <a href="{{ url_for('frontend.show_item', item_name=item_name) }}" rel="nofollow"> {{ _('Show') }}</a>
         </li>
     {%- endif %}
     {% if 'Meta' in cfg.edit_bar and 'meta' not in cfg.actions_excluded -%}
         <li>
-        <a href="{{ url_for('frontend.show_item_meta', item_name=item_name)|e }}" rel="nofollow"> {{ _('Meta') }}</a>
+        <a href="{{ url_for('frontend.show_item_meta', item_name=item_name) }}" rel="nofollow"> {{ _('Meta') }}</a>
         </li>
     {%- endif %}
     {% if 'Modify' in cfg.edit_bar and 'modify' not in cfg.actions_excluded -%}
         <li>
         {% if user.may.write(item_name) %}
-            <a href="{{ url_for('frontend.modify_item', item_name=item_name)|e }}" rel="nofollow"> {{ _('Modify') }}</a>
+            <a href="{{ url_for('frontend.modify_item', item_name=item_name) }}" rel="nofollow"> {{ _('Modify') }}</a>
         {% else %}
             {{ _('Immutable Item')}}
         {% endif %}
     {%- endif %}
     {% if 'Download' in cfg.edit_bar and 'get' not in cfg.actions_excluded -%}
         <li>
-            <a href="{{ url_for('frontend.get_item', item_name=item_name)|e }}" rel="nofollow">{{ _('Download') }}</a>
+            <a href="{{ url_for('frontend.get_item', item_name=item_name) }}" rel="nofollow">{{ _('Download') }}</a>
         </li>
     {%- endif %}
     {% if 'History' in cfg.edit_bar and 'history' not in cfg.actions_excluded -%}
         <li>
-            <a href="{{ url_for('frontend.history', item_name=item_name)|e }}" rel="nofollow">{{ _('History') }}</a>
+            <a href="{{ url_for('frontend.history', item_name=item_name) }}" rel="nofollow">{{ _('History') }}</a>
         </li>
     {%- endif %}
     {% if 'Quicklink' in cfg.edit_bar and 'quicklink' not in cfg.actions_excluded
        and user.valid -%}
         <li>
-            <a class="nbquicklink" href="{{ url_for('frontend.quicklink_item', item_name=item_name)|e }}" rel="nofollow">
+            <a class="nbquicklink" href="{{ url_for('frontend.quicklink_item', item_name=item_name) }}" rel="nofollow">
             {% if user.isQuickLinkedTo([item_name]) -%}
                 {{ _('Remove Link') }}
             {% else -%}
     {% if 'Subscribe' in cfg.edit_bar and 'subscribe' not in cfg.actions_excluded
        and user.valid and cfg.mail_enabled -%}
         <li>
-            <a class="nbsubscribe" href="{{ url_for('frontend.subscribe_item', item_name=item_name)|e }}" rel="nofollow">
+            <a class="nbsubscribe" href="{{ url_for('frontend.subscribe_item', item_name=item_name) }}" rel="nofollow">
             {% if user.isSubscribedTo([item_name]) %}
                     {{ _('Unsubscribe') }}
             {% else %}
     {%- endif %}
     {% if 'Index' in cfg.edit_bar and 'index' not in cfg.actions_excluded -%}
         <li>
-            <a class="nbindex" href="{{ url_for('frontend.index', item_name=item_name)|e }}" rel="nofollow">{{ _('Index') }}</a>
+            <a class="nbindex" href="{{ url_for('frontend.index', item_name=item_name) }}" rel="nofollow">{{ _('Index') }}</a>
         </li>
     {%- endif %}
     {% if 'Supplementation' in cfg.edit_bar and 'supplementation' not in cfg.actions_excluded -%}
                 {% set supp_name = '%s/%s' % (item_name, sub_item_name) -%}
                 {% if storage.has_item(supp_name) or user.may.write(supp_name) %}
                     <li>
-                        <a class="nbsupplementation" href="{{ url_for('frontend.show_item', item_name=supp_name)|e }}" rel="nofollow">{{ _(sub_item_name) }}</a>
+                        <a class="nbsupplementation" href="{{ url_for('frontend.show_item', item_name=supp_name) }}" rel="nofollow">{{ _(sub_item_name) }}</a>
                     </li>
                 {%- endif %}
             {%- endif %}
     {%- endif %}
     {% if 'ActionsMenu' in cfg.edit_bar %}
         <li>
-            <form class="moin-actionsmenu" method="GET" action="{{ url_for('frontend.dispatch')|e }}">
+            <form class="moin-actionsmenu" method="GET" action="{{ url_for('frontend.dispatch') }}">
                 <div>
                     <label>{{ _('More Actions:') }}</label>
                     <select name="endpoint" class="moin-actionsmenu-select">

MoinMoin/templates/global_history.html

 
 {% block head %}
 {{ super() }}
-<link rel="alternate" title="Global changes" href="{{ url_for('feed.atom')|e }}" type="application/atom+xml" />
+<link rel="alternate" title="Global changes" href="{{ url_for('feed.atom') }}" type="application/atom+xml" />
 {% endblock %}
 
 {% block content %}
         <tr>
             <td>{{ rev.timestamp|datetimeformat }}</td>
             <td class="moin-wordbreak">{{ rev.edit_log_action }}</td>
-            <td class="moin-wordbreak"><a href="{{ url_for('frontend.show_item', item_name=rev.item.name)|e }}">{{ rev.item.name|e }}</a>
-                {% if rev.item.name != rev.name %} ({{ rev.name|e }}){% endif %}</td>
+            <td class="moin-wordbreak"><a href="{{ url_for('frontend.show_item', item_name=rev.item.name) }}">{{ rev.item.name }}</a>
+                {% if rev.item.name != rev.name %} ({{ rev.name }}){% endif %}</td>
             <td class="moin-integer">{{ rev.revno }}</td>
             <td class="moin-wordbreak">{{ rev.mimetype }}</td>
             <td class="moin-wordbreak">{{ utils.editor_info(rev) }}</td>

MoinMoin/templates/global_index.html

     {% if index %}
         <ul>
         {% for fullname, relname, mimetype in index %}
-            <li><a href="{{ url_for('show_item', item_name=fullname)|e }}">{{ relname|e }} ({{ mimetype|e }})</a></li>
+            <li><a href="{{ url_for('show_item', item_name=fullname) }}">{{ relname }} ({{ mimetype }})</a></li>
         {% endfor %}
         </ul>
     {% endif %}

MoinMoin/templates/global_tags.html

 {% if tags %}
 <ul class="moin-tags">
     {% for cls, tag in tags %}
-    <li class="{{ cls }}"><a href="{{ url_for('frontend.tagged_items', tag=tag)|e }}">{{ tag|e }}</a></li>
+    <li class="{{ cls }}"><a href="{{ url_for('frontend.tagged_items', tag=tag) }}">{{ tag }}</a></li>
     {% endfor %}
 </ul>
 {% endif %}

MoinMoin/templates/history.html

             </tr>
             {% for rev in history %}
             <tr>
-                <td class="moin-wordbreak">{{ rev.name|e }}</td>
+                <td class="moin-wordbreak">{{ rev.name }}</td>
                 <td class="moin-integer">{{ rev.revno }}</td>
                 <td>{{ rev.timestamp|datetimeformat }}</td>
                 <td class="moin-integer">{{ rev.size }}</td>
                     </div>
                 </td>
                 <td class="moin-wordbreak">{{ utils.editor_info(rev) }}</td>
-                <td class="moin-wordbreak">{{ rev.mimetype|e }}</td>
-                <td class="moin-wordbreak">{{ rev.edit_log_comment|e }}</td>
-                <td><a href="{{ url_for('frontend.show_item', item_name=rev.item.name, rev=rev.revno)|e }}">{{ _('show') }}</a></td>
-                <td><a href="{{ url_for('frontend.show_item_meta', item_name=rev.item.name, rev=rev.revno)|e }}">{{ _('meta') }}</a></td>
-                <td><a href="{{ url_for('frontend.get_item', item_name=rev.item.name, rev=rev.revno)|e }}">{{ _('download') }}</a></td>
-                <td><a href="{{ url_for('frontend.highlight_item', item_name=rev.item.name, rev=rev.revno)|e }}">{{ _('highlight') }}</a></td>
-                <td><a href="{{ url_for('frontend.revert_item', item_name=rev.item.name, rev=rev.revno)|e }}">{{ _('revert') }}</a></td>
-                <td><a href="{{ url_for('frontend.destroy_item', item_name=rev.item.name, rev=rev.revno)|e }}">{{ _('destroy') }}</a></td>
+                <td class="moin-wordbreak">{{ rev.mimetype }}</td>
+                <td class="moin-wordbreak">{{ rev.edit_log_comment }}</td>
+                <td><a href="{{ url_for('frontend.show_item', item_name=rev.item.name, rev=rev.revno) }}">{{ _('show') }}</a></td>
+                <td><a href="{{ url_for('frontend.show_item_meta', item_name=rev.item.name, rev=rev.revno) }}">{{ _('meta') }}</a></td>
+                <td><a href="{{ url_for('frontend.get_item', item_name=rev.item.name, rev=rev.revno) }}">{{ _('download') }}</a></td>
+                <td><a href="{{ url_for('frontend.highlight_item', item_name=rev.item.name, rev=rev.revno) }}">{{ _('highlight') }}</a></td>
+                <td><a href="{{ url_for('frontend.revert_item', item_name=rev.item.name, rev=rev.revno) }}">{{ _('revert') }}</a></td>
+                <td><a href="{{ url_for('frontend.destroy_item', item_name=rev.item.name, rev=rev.revno) }}">{{ _('destroy') }}</a></td>
             </tr>
             {% endfor %}
         </table>

MoinMoin/templates/index.html

     {% if index %}
         <ul>
         {% for fullname, relname, mimetype in index %}
-            <li><a href="{{ url_for('show_item', item_name=fullname)|e }}">{{ relname|e }} ({{ mimetype|e }})</a></li>
+            <li><a href="{{ url_for('show_item', item_name=fullname) }}">{{ relname }} ({{ mimetype }})</a></li>
         {% endfor %}
         </ul>
     {% endif %}

MoinMoin/templates/layout.html

 
 <div id="moin-header">
 {% block header %}
-    <form id="moin-searchform" method="get" action="{{ url_for('frontend.search')|e }}">
+    <form id="moin-searchform" method="get" action="{{ url_for('frontend.search') }}">
         <div>
             <input type="hidden" name="do" value="fullsearch" />
             <input type="hidden" name="context" value="180" />
             <label for="moin-searchinput">{{ _('Search') }}</label>
-            <input id="moin-searchinput" type="text" name="value" value="{{ request.values.get('value', '')|e }}" size="20" />
+            <input id="moin-searchinput" type="text" name="value" value="{{ request.values.get('value', '') }}" size="20" />
             <input id="moin-titlesearch" name="titlesearch" type="submit" value="{{ _('Titles') }}" />
             <input id="moin-fullsearch" name="fullsearch" type="submit" value="{{ _('Text') }}" />
         </div>
 
     {% if logo %}
     <div id="moin-logo">
-        <a href="{{ url_for('frontend.show_item', item_name=theme_supp.translated_item_name(cfg.item_root))|e }}">{{ logo }}</a>
+        <a href="{{ url_for('frontend.show_item', item_name=theme_supp.translated_item_name(cfg.item_root)) }}">{{ logo }}</a>
     </div>
     {% endif %}
 
         {% if user.valid -%}
             {% if user.name -%}
                 {% set wiki_href, aliasname, title, exists = theme_supp.userhome() %}
-                <a href="{{ wiki_href|e }}" {% if not exists %}class="moin-nonexistent"{% endif %} rel="nofollow" title="{{ title }}">
+                <a href="{{ wiki_href }}" {% if not exists %}class="moin-nonexistent"{% endif %} rel="nofollow" title="{{ title }}">
                     {{ aliasname }}
                 </a>
                 <span class="sep"> | </span>
                 {% if 'usersettings' not in cfg.actions_excluded -%}
-                    <a href="{{ url_for('frontend.usersettings')|e }}" class="moin-usersettings" rel="nofollow">{{ _('Settings') }}</a>
+                    <a href="{{ url_for('frontend.usersettings') }}" class="moin-usersettings" rel="nofollow">{{ _('Settings') }}</a>
                     <span class="sep"> | </span>
                 {%- endif %}
             {%- endif %}
             {% if user.auth_method in cfg.auth_can_logout %}
-                <a href="{{ url_for('frontend.logout', logout_submit=1)|e }}" class="moin-logout" rel="nofollow">
+                <a href="{{ url_for('frontend.logout', logout_submit=1) }}" class="moin-logout" rel="nofollow">
                     {{ _('Logout') }}
                 </a>
             {% endif %}
         {% else %}
-            <a href="{{ theme_supp.login_url()|e }}" class="moin-login" rel="nofollow">{{ _('Login') }}</a>
+            <a href="{{ theme_supp.login_url() }}" class="moin-login" rel="nofollow">{{ _('Login') }}</a>
         {%- endif %}
     </div>
 
     <div id="moin-locationline">
         {% if cfg.show_interwiki -%}
         <span id="moin-interwiki">
-            <a href="{{ url_for('frontend.show_item', item_name=theme_supp.translated_item_name(cfg.item_root))|e }}" rel="nofollow">
+            <a href="{{ url_for('frontend.show_item', item_name=theme_supp.translated_item_name(cfg.item_root)) }}" rel="nofollow">
                 {% if cfg.interwikiname %}{{ cfg.interwikiname }}{% else %}Self{% endif %}
             </a>
             <span class="sep">: </span>
         <span id="moin-pagelocation">
             <span class="moin-pagepath">
                 {% for segment_name, segment_path, exists in theme_supp.location_breadcrumbs(item_name) -%}
-                    <a href="{{ url_for('frontend.show_item', item_name=segment_path)|e }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
+                    <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
                         {{ segment_name|shorten_item_name }}
                     </a>
                     {% if not loop.last -%}<span class="sep">/</span>{%- endif %}
     {% if trail_items %}
         <div id="moin-pagetrail">
         {% for wiki_name, item_name, item_href, exists, err in trail_items %}
-            <a href="{{ url_for('frontend.show_item', item_name=item_href)|e }}"{{ " " }}
+            <a href="{{ url_for('frontend.show_item', item_name=item_href) }}"{{ " " }}
             {%- if wiki_name -%}
                 title="{{ wiki_name }}"
                 class="{% if err %}moin-badinterwiki{% else %}interwiki{% endif %}"
         <ul id="moin-navibar">
         {% for cls, url, text, title in navibar_items %}
             <li class="{{ cls }}">
-                <a href="{{ url|e }}" {% if title %}title="{{ title }}"{% endif %}>{{ text }}</a>
+                <a href="{{ url }}" {% if title %}title="{{ title }}"{% endif %}>{{ text }}</a>
             </li>
         {% endfor %}
         </ul>

MoinMoin/templates/modify_applet.html

 <br />
 <label for="data_file">{{ _("Upload file:") }}</label><input type="file" id="data_file" name="data_file" />
 <pre>{{ help }}</pre>
-<textarea name="meta_text" lang="en" dir="ltr" rows="{{ rows_meta }}" cols="{{ cols }}">{{ meta_text|e }}</textarea>
+<textarea name="meta_text" lang="en" dir="ltr" rows="{{ rows_meta }}" cols="{{ cols }}">{{ meta_text }}</textarea>
 </fieldset>
 </form>
 {% endblock %}

MoinMoin/templates/modify_show_template_selection.html

 <h1>{{ _("Create new item?") }}</h1>
 <p>
 {{ _("You can either <a href='%(modifyhref)s'>create the item from scratch</a> or select a template.",
-modifyhref=url_for('frontend.modify_item', item_name=item_name, mimetype=mimetype, template='')|e ) }}
+modifyhref=url_for('frontend.modify_item', item_name=item_name, mimetype=mimetype, template='') ) }}
 </p>
 <h2>{{ _("Available template items") }}</h2>
 <ul>
     {% for template in templates %}
     <li>
-    <a href="{{ url_for('frontend.modify_item', item_name=item_name, mimetype=mimetype, template=template)|e }}">{{ template|e }}</a>
+    <a href="{{ url_for('frontend.modify_item', item_name=item_name, mimetype=mimetype, template=template) }}">{{ template }}</a>
     </li>
     {% endfor %}
 </ul>

MoinMoin/templates/modify_show_type_selection.html

 <table>
     {% for gname, mimetypes in mimetype_groups %}
     <tr>
-        <td class="green">{{ gname|e }}</td>
+        <td class="green">{{ gname }}</td>
     </tr>
     <tr>
         <td>
         {% for mname, mlabel in mimetypes %}
-            <a href="{{ url_for('frontend.modify_item', item_name=item_name, mimetype=mname)|e }}">{{ mlabel|e }}</a> -
+            <a href="{{ url_for('frontend.modify_item', item_name=item_name, mimetype=mname) }}">{{ mlabel }}</a> -
         {% endfor %}
         </td>
     </tr>

MoinMoin/templates/modify_text.html

 {% extends "modify_binary.html" %}
 {% block data_editor %}
-<textarea name="data_text" lang="{{ lang }}" dir="{{ direction }}" rows="{{ rows_data }}" cols="{{ cols }}">{{ data_text|e }}</textarea>
+<textarea name="data_text" lang="{{ lang }}" dir="{{ direction }}" rows="{{ rows_data }}" cols="{{ cols }}">{{ data_text }}</textarea>
 <br />
 {% endblock %}

MoinMoin/templates/modify_text_html.html

 {% block data_editor %}
 <p>
     <textarea class="ckeditor" id="data_text" name="data_text" rows="{{ rows_data }}" cols="{{ cols }}">{{
-        data_text|e
+        data_text
     }}</textarea>
 </p>
 {% endblock %}

MoinMoin/templates/show.html

 
 {% block head_links %}
     {{ super() }}
-    <link rel="alternate" title="{{ item_name|e }} changes" href="{{ url_for('feed.atom', item_name=item_name)|e }}" type="application/atom+xml" />
+    <link rel="alternate" title="{{ item_name }} changes" href="{{ url_for('feed.atom', item_name=item_name) }}" type="application/atom+xml" />
     {# universal edit button support #}
     {%- if user.may.write(item_name) and 'modify' not in cfg.actions_excluded -%}
-    <link rel="alternate" type="application/wiki" title="{{ _('Modify') }}" href="{{ url_for('frontend.modify_item', item_name=item_name)|e }}" />
+    <link rel="alternate" type="application/wiki" title="{{ _('Modify') }}" href="{{ url_for('frontend.modify_item', item_name=item_name) }}" />
     {%- endif %}
 {% endblock %}
 
     <ul id="moin-rev-navigation">
         <li class="moin-rev-navigation-older">
         {% if rev.revno > 0 -%}
-            <a href="{{ url_for(view, rev=rev.revno-1, item_name=item_name)|e }}">&lt;-- {{ _('older') }}</a>
+            <a href="{{ url_for(view, rev=rev.revno-1, item_name=item_name) }}">&lt;-- {{ _('older') }}</a>
         {%- else -%}
             <span class="moin-disabled">{{ _('no older revision') }}</span>
         {%- endif %}
         <li class="moin-rev-navigation-current">rev {{ rev.revno }}</li>
         <li class="moin-rev-navigation-newer">
             {% if rev.revno < last_rev_no -%}
-                <a href="{{ url_for(view, rev=rev.revno+1, item_name=item_name)|e }}">{{ _('newer') }} --&gt;</a>
+                <a href="{{ url_for(view, rev=rev.revno+1, item_name=item_name) }}">{{ _('newer') }} --&gt;</a>
             {%- else -%}
                 <span class="moin-disabled">{{ _('no newer revision') }}</span>
             {%- endif %}
         {{ _("by") }} {{ utils.editor_info(rev) }}{% if rev.tags %},
         {{ _("tagged") }}
         {% for tag in rev.tags -%}
-        <a href="{{ url_for('frontend.tagged_items', tag=tag)|e }}">{{ tag|e }}</a>{% if not loop.last %}, {% endif %}
+        <a href="{{ url_for('frontend.tagged_items', tag=tag) }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}
         {%- endfor -%}
     {%- endif -%}.
     </p>

MoinMoin/templates/sitemap.html

         </ul>
     {% else %}
         <li>
-        <a href="{{ url_for('frontend.sitemap', item_name=entry)|e }}">{{ entry|e }}</a>
+        <a href="{{ url_for('frontend.sitemap', item_name=entry) }}">{{ entry }}</a>
         </li>
     {% endif %}
 {% endfor %}

MoinMoin/templates/snippets.html

 
 {# Helper macro to create image links #}
 {% macro creditlogo(link, logo, alt, title) %}
-<a href="{{ link|e }}" title="{{ title|e }}"><img src="{{ logo|e }}" alt="{{ alt|e }}" /></a>
+<a href="{{ link }}" title="{{ title }}"><img src="{{ logo }}" alt="{{ alt }}" /></a>
 {% endmacro %}
 
 {# Image links in the footer #}
 
 {# Helper macro to generate text links #}
 {% macro credit(link, text, title) -%}
-<a href="{{ link|e }}" title="{{ title|e }}">{{ text|e }}</a>
+<a href="{{ link }}" title="{{ title }}">{{ text }}</a>
 {%- endmacro %}
 
 {# Text links in the footer #}

MoinMoin/templates/usersettings.html

 {% if part == 'main' %}
 <h1>{{ _("Settings") }}</h1>
 <ul>
-    <li><a href="{{ url_for('frontend.usersettings', part='personal')|e }}">{{ _("Personal Settings") }}</a></li>
-    <li><a href="{{ url_for('frontend.usersettings', part='password')|e }}">{{ _("Change password") }}</a></li>
-    <li><a href="{{ url_for('frontend.usersettings', part='notification')|e }}">{{ _("Notification Settings") }}</a></li>
-    <li><a href="{{ url_for('frontend.usersettings', part='ui')|e }}">{{ _("Wiki Appearance Settings") }}</a></li>
-    <li><a href="{{ url_for('frontend.usersettings', part='navigation')|e }}">{{ _("Navigation Settings") }}</a></li>
-    <li><a href="{{ url_for('frontend.usersettings', part='options')|e }}">{{ _("Options") }}</a></li>
+    <li><a href="{{ url_for('frontend.usersettings', part='personal') }}">{{ _("Personal Settings") }}</a></li>
+    <li><a href="{{ url_for('frontend.usersettings', part='password') }}">{{ _("Change password") }}</a></li>
+    <li><a href="{{ url_for('frontend.usersettings', part='notification') }}">{{ _("Notification Settings") }}</a></li>
+    <li><a href="{{ url_for('frontend.usersettings', part='ui') }}">{{ _("Wiki Appearance Settings") }}</a></li>
+    <li><a href="{{ url_for('frontend.usersettings', part='navigation') }}">{{ _("Navigation Settings") }}</a></li>
+    <li><a href="{{ url_for('frontend.usersettings', part='options') }}">{{ _("Options") }}</a></li>
 </ul>
 
 {% elif part == 'personal' %}

MoinMoin/templates/utils.html

 {% macro editor_info(rev) %}
   {%- set info = get_editor_info(rev) -%}
   {%- if info.uri -%}
-      <a href="{{ info.uri|e }}" class="{{ info.css }}" title="{{ info.title|e }}">
+      <a href="{{ info.uri }}" class="{{ info.css }}" title="{{ info.title }}">
   {%- elif info.email -%}
-      <a href="mailto:{{ info.email|e }}" class="{{ info.css }}" title="{{ info.title|e }}">
+      <a href="mailto:{{ info.email }}" class="{{ info.css }}" title="{{ info.title }}">
   {%- elif info.css -%}
       <span class="{{ info.css }}">
   {%- endif -%}
-  {{ info.text|e }}
+  {{ info.text }}
   {%- if info.uri or info.email -%}
     </a>
   {%- elif info.css -%}

MoinMoin/templates/wanteds.html

         <ol type="1">
             {% for item_name in wanteds|sort %}
                 <li>
-                    <a href="{{ url_for('frontend.show_item', item_name=item_name)|e }}">{{ item_name }}</a>:
+                    <a href="{{ url_for('frontend.show_item', item_name=item_name) }}">{{ item_name }}</a>:
                     {% for item_link in wanteds[item_name] %}
-                        <a href="{{ url_for('frontend.show_item', item_name=item_link)|e }}">{{ item_link }}</a>
+                        <a href="{{ url_for('frontend.show_item', item_name=item_link) }}">{{ item_link }}</a>
                         {%- if not loop.last %}, {% endif -%}
                     {% endfor %}
                 </li>