From: Simounet Date: Mon, 4 Jun 2018 10:04:37 +0000 (+0200) Subject: Fix authors and preview alt encoding display X-Git-Tag: 2.3.3~6^2 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=03f2cacb58167c33212bba1267b9cf848edab29e 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 %}