sanitize awesomeprint?

This commit is contained in:
24c02 2026-02-07 19:18:38 -05:00
parent f2132f98f9
commit 2c6356bbf1

View file

@ -6,9 +6,9 @@
<% unless record.nil? %>
<% if record.is_a?(Norairrecord::Table) %>
<%== ap record.fields%>
<%== sanitize(ap(record.fields), tags: %w[kbd span b i em strong code], attributes: %w[class style]) %>
<% else %>
<%== ap record %>
<%== sanitize(ap(record), tags: %w[kbd span b i em strong code], attributes: %w[class style]) %>
<% end %>
<div class="border-left ml1">