X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=e9925e3d60999096dad2d15b4fc917ba4b264f01;hb=365a38984e32d152ec0170991a61bf704756cf1e;hp=6de800b94fb57d94b4aabf3148f9b1f111c49aae;hpb=143869525f0241e159e7d883c40129345f64c0d4;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 6de800b9..e9925e3d 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -46,16 +46,17 @@ {% endif %} - {{ entry.title|raw|striptags|slice(0, 42) }} + {{ entry.title|striptags|slice(0, 42)|raw }} - {% if entry.readingTime > 0 %} -
{% trans %}estimated reading time{% endtrans %}: {{ entry.readingTime }} min
- {% else %} -
{% trans %}estimated reading time{% endtrans %}: < 1 min
- {% endif %} +
+ + {% trans %}estimated reading time{% endtrans %}: + {% if entry.readingTime > 0 %}{{ entry.readingTime }}{% else %}< 1{% endif %} min + +
{% if entry.previewPicture is null %} -

{{ entry.content|striptags|slice(0, 300) }}…

+

{{ entry.content|striptags|slice(0, 300)|raw }}…

{% endif %} @@ -65,13 +66,14 @@ {{ entry.title|raw }} - {% if entry.readingTime > 0 %} -
{% trans %}estimated reading time{% endtrans %}: {{ entry.readingTime }} min
- {% else %} -
{% trans %}estimated reading time{% endtrans %}: < 1 min
- {% endif %} +
+ + {% trans %}estimated reading time{% endtrans %}: + {% if entry.readingTime > 0 %}{{ entry.readingTime }}{% else %}< 1{% endif %} min + +
-

{{ entry.content|striptags|slice(0, 300) }}…

+

{{ entry.content|striptags|slice(0, 300)|raw }}…

{% endif %} @@ -99,13 +101,13 @@ {% endif %}

{% trans %}Export{% endtrans %}