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

@ -8,7 +8,8 @@ In alphabetical order:
6. Jørn Ølmheim <jorn@olmheim.com> 6. Jørn Ølmheim <jorn@olmheim.com>
7. Kartik Arora <chipset95@yahoo.co.in> 7. Kartik Arora <chipset95@yahoo.co.in>
8. Marcus Eisele <marcus.eisele@gmail.com> 8. Marcus Eisele <marcus.eisele@gmail.com>
9. Nathan Jaremkio <njaremko@gmail.com> 9. Mike Kasberg <kasberg.mike@gmail.com>
10. Panos Sakkos <panos.sakkos@protonmail.com> 10. Nathan Jaremkio <njaremko@gmail.com>
11. Prashant Solanki <prs.solanki@live.com> 11. Panos Sakkos <panos.sakkos@protonmail.com>
12. Sergey Lysenko <soulwish.ls@gmail.com> 12. Prashant Solanki <prs.solanki@live.com>
13. Sergey Lysenko <soulwish.ls@gmail.com>

View file

@ -18,7 +18,7 @@
<small> <a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small> <small> <a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small>
</h4> </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> <h4><a href="{{site.baseurl}}/blog/">View more posts</a></h4>