From: Jérémy Benoist Date: Tue, 5 Jun 2018 04:33:37 +0000 (+0000) Subject: Merge pull request #3664 from Simounet/fix/entry-attributes-encoding X-Git-Tag: 2.3.3~6 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=def73759aeed87770d6b1e2f791370c83bebcf3e;hp=fea68d1a723c3f84b48630df6f173bbca5db4a14;p=github%2Fwallabag%2Fwallabag.git Merge pull request #3664 from Simounet/fix/entry-attributes-encoding Fix authors and preview alt encoding display --- diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index 0d05f4d5..7484d53b 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig @@ -245,7 +245,7 @@
  • person {% for author in entry.publishedBy %} - {{ author }}{% if not loop.last %}, {% endif %} + {{ author|raw }}{% if not loop.last %}, {% endif %} {% endfor %}
  • {% endif %} @@ -276,7 +276,7 @@ {% if entry.previewPicture is not null %} -
    {{ entry.title|striptags|e('html_attr') }}
    +
    {{ entry.title|striptags|default('entry.default_title'|trans)|raw }}
    {% endif %}