Prevent comment title from being link (stupid /comment/123 link at that)

This commit is contained in:
benjamin melançon 2018-12-25 11:33:29 -05:00
parent eb5b6b1e01
commit f6b5d40d76

View file

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