{% include no-linenos.html content=post.content %} - {{ content | markdownify | strip_html | truncate: 200 }} + {{ content | markdownify | strip_html | truncate: 200 | escape }}
diff --git a/_includes/related-posts.html b/_includes/related-posts.html index 910de53..bbda00b 100644 --- a/_includes/related-posts.html +++ b/_includes/related-posts.html @@ -94,7 +94,7 @@
{% include no-linenos.html content=post.content %} - {{ content | markdownify | strip_html | truncate: 200 }} + {{ content | markdownify | strip_html | truncate: 200 | escape }}
{% include no-linenos.html content=post.content %} - {{ content | markdownify | strip_html | truncate: 200 }} + {{ content | markdownify | strip_html | truncate: 200 | escape }}