Fix Post Preview Strip HTML Bug (#176)

Fixes #175
This commit is contained in:
Mike Kasberg 2016-05-29 17:05:49 -06:00 committed by Panos Sakkos
parent 289fe2afb9
commit 4e0912e2d8
2 changed files with 6 additions and 5 deletions

View file

@ -18,7 +18,7 @@
<small> <a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small>
</h4>
{{ post.content | truncatewords: site.post-preview-words | strip_html | markdownify }}
{{ post.content | strip_html | markdownify | truncatewords: site.post-preview-words }}
<h4><a href="{{site.baseurl}}/blog/">View more posts</a></h4>