Skip to content

Commit

Permalink
allow tracking attributes to be rendered when sanitized
Browse files Browse the repository at this point in the history
  • Loading branch information
Dilwoar Hussain committed Nov 12, 2020
1 parent bc32474 commit 5861def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/content_items/_attachments.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
direction: page_text_direction,
} do %>
<%= sanitize(legacy_pre_rendered_documents, {
attributes: %w(alt class data-module href id src),
attributes: %w(alt class href id src data-module data-track-category data-track-action data-track-label data-track-options data-details-track-click),
tags: %w(a details div h2 img p section span summary),
}) %>
<% end %>
Expand Down

0 comments on commit 5861def

Please sign in to comment.