mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 15:28:19 +00:00
sanitize awesomeprint?
This commit is contained in:
parent
f2132f98f9
commit
2c6356bbf1
1 changed files with 2 additions and 2 deletions
|
|
@ -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">
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue