Merge pull request #35 from Svenito/summary-tags
Add `striptags` to summary before truncate
This commit is contained in:
commit
911b8ec25c
@ -39,7 +39,7 @@
|
||||
{% elif article.has_summary %}
|
||||
{{ article.summary }}
|
||||
{% elif article.summary %}
|
||||
{{ article.summary|truncate(140) }}
|
||||
{{ article.summary|striptags|truncate(140) }}
|
||||
{% endif %}
|
||||
<p class="post-meta">Posted by
|
||||
{% for author in article.authors %}
|
||||
|
Loading…
Reference in New Issue
Block a user