Merge pull request #22 from cantino/patch-1
Strip HTML first before trunctating
This commit is contained in:
commit
cb8fd0f73d
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ layout: default
|
|||
<div class="catalogue-line"></div>
|
||||
|
||||
<p>
|
||||
{{ post.content | truncatewords: 30 | strip_html }}
|
||||
{{ post.content | strip_html | truncatewords: 30 }}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue