aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2017-02-17 09:28:56 +0100
committerGitHub <noreply@github.com>2017-02-17 09:28:56 +0100
commit2edc5395814c01fbd71c66234aa751092b913c2b (patch)
tree04d47f2e5c97b87a5ff1ba7d9b5e091eb15a2fa9 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig
parent2ac8e2c5b51712e549d21aa29b9929731dc29771 (diff)
parentaedd385e108b1d8ae1473e840877086276172eeb (diff)
downloadwallabag-2edc5395814c01fbd71c66234aa751092b913c2b.tar.gz
wallabag-2edc5395814c01fbd71c66234aa751092b913c2b.tar.zst
wallabag-2edc5395814c01fbd71c66234aa751092b913c2b.zip
Merge pull request #2830 from Kdecherf/striptags-title
Fix rendering of entry title in Twig views
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig
index bb9b64ce..3ba6253a 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig
@@ -2,7 +2,7 @@
2 <div class="card-stacked"> 2 <div class="card-stacked">
3 <div class="card-content"> 3 <div class="card-content">
4 <span class="card-title dot-ellipsis dot-resize-update"> 4 <span class="card-title dot-ellipsis dot-resize-update">
5 <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | raw | striptags }}"> 5 <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | striptags | e('html_attr') }}">
6 {{ entry.title| striptags | truncate(120, true, '…') | raw }} 6 {{ entry.title| striptags | truncate(120, true, '…') | raw }}
7 </a> 7 </a>
8 </span> 8 </span>