Permalink
Browse files

fix bug 771640: Title is NOT filtered or safe for un-escaped display …

…in preview template
  • Loading branch information...
1 parent 107416b commit a9e5041e41ea7a4dc6aed9a9bd3653bfc7b6633c @lmorchard committed Jul 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/wiki/templates/wiki/preview.html
@@ -2,7 +2,7 @@
{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "wiki/base.html" %}
-{% block title %}{{ title|safe }}{% endblock %}
+{% block title %}{{ title }}{% endblock %}
{% set classes = 'document' %}
{% block bodyclass %}document{% endblock %}
@@ -23,7 +23,7 @@
<article class="article" role="main">
<header id="article-head">
<div class="title">
- <h1 class="page-title">{{ title|safe }}</h1>
+ <h1 class="page-title">{{ title }}</h1>
</div>
</header>

0 comments on commit a9e5041

Please sign in to comment.