Get unlinked title in a slightly less hacky way

... and slowly realize we really don't want titles on our comments...
This commit is contained in:
benjamin melançon 2018-12-25 11:44:02 -05:00
parent f6b5d40d76
commit 98b6cc0c08

View file

@ -94,7 +94,7 @@
<div class="media-content"> <div class="media-content">
{% if title %} {% if title %}
{{ title_prefix }} {{ title_prefix }}
<h3{{ title_attributes.addClass('title', 'is-5') }}>{{ title|striptags }}</h3> <h3{{ title_attributes.addClass('title', 'is-5') }}>{{ comment.label }}</h3>
{{ title_suffix }} {{ title_suffix }}
{% endif %} {% endif %}
{{ content }} {{ content }}