<li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li>
{% endfor %}
</ul>
- <div class="preview activator" style="background-image: url({{ entry.previewPicture }})"></div>
+ <a href="{{ path('view', { 'id': entry.id }) }}">
+ <span class="preview" style="background-image: url({{ entry.previewPicture }})"></span>
+ </a>
</div>
<div class="card-content">
<i class="grey-text text-darken-4 activator material-icons right">more_vert</i>
<span class="card-title dot-ellipsis dot-resize-update">
- <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | e | raw | striptags }}">
- {{ entry.title | e | striptags | truncate(80, true, '…') | raw }}
+ <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | striptags | e('html_attr') }}">
+ {{ entry.title | striptags | truncate(80, true, '…') | raw }}
</a>
</span>
<div class="card-reveal">
<i class="card-title activator grey-text text-darken-4 material-icons right">clear</i>
<span class="card-title">
- <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | e | raw | striptags }}">
- {{ entry.title | e | raw | striptags | truncate(80, true, '…') }}
+ <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title | striptags | e('html_attr') }}">
+ {{ entry.title | striptags | truncate(80, true, '…') | raw }}
</a>
</span>