Skip to content

Commit

Permalink
Issue #12 - Fix p tags for episode description
Browse files Browse the repository at this point in the history
  • Loading branch information
jgonyea committed May 14, 2018
1 parent 4f39b3c commit 09656e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/partials/podcast_episodes_list.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
<p class = "episode-date">
{{ (episode.modified)|date('Y-m-d')|nicetime(false) }}
</p>
<p pass = "episode-description">
<p class = "episode-description">
{% if episode.summary %}
{{ (episode.summary)|truncate(120) }}
{{ (episode.summary)|striptags|truncate(120) }}
{% else %}
No summary available.
{% endif %}
Expand Down

0 comments on commit 09656e4

Please sign in to comment.