Skip to content

Commit

Permalink
Merge pull request #3575 from zendesk/grosser/silence
Browse files Browse the repository at this point in the history
silence warnings
  • Loading branch information
grosser committed Oct 29, 2019
2 parents 6956f49 + 0d5bb21 commit 1228905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_dashboard.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if resource.dashboard.present? %>
<h2>Dashboard</h2>
<div><%= sanitize resource.dashboard, tags: Loofah::HTML5::WhiteList::ACCEPTABLE_ELEMENTS + %w[iframe] %></div>
<div><%= sanitize resource.dashboard, tags: Loofah::HTML5::SafeList::ACCEPTABLE_ELEMENTS + %w[iframe] %></div>
<% end %>

0 comments on commit 1228905

Please sign in to comment.