diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-02-24 22:24:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-24 22:24:24 +0100 |
commit | 2ff26deaf8a71ee428eebc08c387ad4bab764686 (patch) | |
tree | 02a79ca310a1f08e7e575e9630bb3dcf7e641453 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card | |
parent | 228d317204810db32c858fe3a1bd0b82e0960707 (diff) | |
parent | 4d9128ded96bb70b7bda964870ba3e279832dd9b (diff) | |
download | wallabag-2ff26deaf8a71ee428eebc08c387ad4bab764686.tar.gz wallabag-2ff26deaf8a71ee428eebc08c387ad4bab764686.tar.zst wallabag-2ff26deaf8a71ee428eebc08c387ad4bab764686.zip |
Merge pull request #3592 from Simounet/fix/html-entities-on-default-title
Fix title card HTML parsing
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig index 1c898f0f..1f3cd1a7 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig | |||
@@ -3,7 +3,7 @@ | |||
3 | <i class="grey-text text-darken-4 activator material-icons right">more_vert</i> | 3 | <i class="grey-text text-darken-4 activator material-icons right">more_vert</i> |
4 | {% endif %} | 4 | {% endif %} |
5 | <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update"> | 5 | <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update"> |
6 | {{ entry.title | striptags | truncate(80, true, '…') | raw | default('entry.default_title'|trans) }} | 6 | {{ entry.title | striptags | truncate(80, true, '…') | default('entry.default_title'|trans) | raw }} |
7 | </a> | 7 | </a> |
8 | 8 | ||
9 | <div class="{{ subClass|default('original grey-text') }}"> | 9 | <div class="{{ subClass|default('original grey-text') }}"> |