1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-30 12:52:24 -05:00

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 }} {{ page_links | raw }}
{% for entry in entries %} {% for entry in entries %}
<div id="entry-{{ entry.id|e }}" class="entrie"> <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"> <ul class="tools">
<li> <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> <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> </ul>
</div> </div>
<header class="mbm"> <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> <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> </header>
<article> <article>