Strip HTML first so that long HTML blocks (like script tags) get removed correctly
This commit is contained in:
parent
bd279e749e
commit
38460b7344
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ layout: default
|
||||||
<div class="catalogue-line"></div>
|
<div class="catalogue-line"></div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
{{ post.content | truncatewords: 30 | strip_html }}
|
{{ post.content | strip_html | truncatewords: 30 }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue