fix bug #151: HTML entities in titles are encoded twice

This commit is contained in:
Nicolas Lœuillet 2013-08-23 21:06:45 +02:00
parent 1e0f9166cc
commit ffc966d72f
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@
{{ page_links | raw }}
{% for entry in entries %}
<div id="entry-{{ entry.id|e }}" class="entrie">
<h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|e }}</a></h2>
<h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2>
<ul class="tools">
<li>
<a title="{% trans "toggle mark as read" %}" class="tool archive {% if entry.is_read == 0 %}archive-off{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span></span></a></li>

View file

@ -16,7 +16,7 @@
</ul>
</div>
<header class="mbm">
<h1>{{ entry.title|e }}</h1>
<h1>{{ entry.title|raw }}</h1>
<div class="vieworiginal txtright small"><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{{ entry.url | e | getDomain }}</a></div>
</header>
<article>