From 809dbceba74ea6a484b113fcd6239df78da9bc1f Mon Sep 17 00:00:00 2001 From: Anna Buianova Date: Tue, 19 Nov 2019 17:23:19 +0300 Subject: [PATCH] Allow while displaying podcasts episodes processed html (#4816) --- app/views/podcast_episodes/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/podcast_episodes/show.html.erb b/app/views/podcast_episodes/show.html.erb index 7998e7b13..2235aac9a 100644 --- a/app/views/podcast_episodes/show.html.erb +++ b/app/views/podcast_episodes/show.html.erb @@ -95,7 +95,7 @@ <%= simple_format((@episode.processed_html || @episode.body).html_safe, sanitize: true) %> <% else %> <%= sanitize (@episode.processed_html || "").html_safe, - tags: %w[strong em a table tbody thead tfoot th tr td col colgroup del p h1 h2 h3 h4 h5 h6 blockquote time div span i em u b ul ol li dd dl dt q code pre img sup cite center small], + tags: %w[strong br em a table tbody thead tfoot th tr td col colgroup del p h1 h2 h3 h4 h5 h6 blockquote time div span i em u b ul ol li dd dl dt q code pre img sup cite center small], attributes: %w[href strong em class ref rel src title alt colspan height width size rowspan span value start data-conversation data-lang id] %> <% end %>