Allow while displaying podcasts episodes processed html (#4816)

This commit is contained in:
Anna Buianova 2019-11-19 17:23:19 +03:00 committed by Ben Halpern
parent b9069a2feb
commit 809dbceba7

View file

@ -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 %>
<p style="font-size:16px;">