From 4e0912e2d830695bbf85dc5cf1731ca8f68ae68e Mon Sep 17 00:00:00 2001 From: Mike Kasberg Date: Sun, 29 May 2016 17:05:49 -0600 Subject: [PATCH] Fix Post Preview Strip HTML Bug (#176) Fixes #175 --- .github/CONTRIBUTORS.md | 9 +++++---- _includes/latest-post.html | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/CONTRIBUTORS.md b/.github/CONTRIBUTORS.md index 2fc8ab7..c9facca 100644 --- a/.github/CONTRIBUTORS.md +++ b/.github/CONTRIBUTORS.md @@ -8,7 +8,8 @@ In alphabetical order: 6. Jørn Ølmheim 7. Kartik Arora 8. Marcus Eisele - 9. Nathan Jaremkio - 10. Panos Sakkos - 11. Prashant Solanki - 12. Sergey Lysenko + 9. Mike Kasberg + 10. Nathan Jaremkio + 11. Panos Sakkos + 12. Prashant Solanki + 13. Sergey Lysenko diff --git a/_includes/latest-post.html b/_includes/latest-post.html index 29b1cfe..b66a73f 100644 --- a/_includes/latest-post.html +++ b/_includes/latest-post.html @@ -18,7 +18,7 @@ Comments - {{ post.content | truncatewords: site.post-preview-words | strip_html | markdownify }} + {{ post.content | strip_html | markdownify | truncatewords: site.post-preview-words }}

View more posts