From 09656e4948b0c84fdc11977d0f49229b2c724662 Mon Sep 17 00:00:00 2001 From: Jeremy Gonyea Date: Mon, 14 May 2018 10:30:57 -0400 Subject: [PATCH] Issue #12 - Fix p tags for episode description --- templates/partials/podcast_episodes_list.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/partials/podcast_episodes_list.html.twig b/templates/partials/podcast_episodes_list.html.twig index 6b8f2ef..226c0eb 100644 --- a/templates/partials/podcast_episodes_list.html.twig +++ b/templates/partials/podcast_episodes_list.html.twig @@ -22,9 +22,9 @@

{{ (episode.modified)|date('Y-m-d')|nicetime(false) }}

-

+

{% if episode.summary %} - {{ (episode.summary)|truncate(120) }} + {{ (episode.summary)|striptags|truncate(120) }} {% else %} No summary available. {% endif %}