aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.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_no_preview.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_no_preview.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig
index ed916e79..eb158659 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig
@@ -2,8 +2,8 @@
2 <div class="card-body"> 2 <div class="card-body">
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 | e | raw | striptags }}"> 5 <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | striptags | e('html_attr') }}">
6 {{ entry.title | e | raw | striptags | truncate(80, true, '…') }} 6 {{ entry.title | striptags | truncate(80, true, '…') | raw }}
7 </a> 7 </a>
8 </span> 8 </span>
9 9