table builder: eliminate is_html_safe flag.

This commit is contained in:
evazion
2020-01-06 01:56:16 -06:00
parent 1d26fdab79
commit abe7f086b6
3 changed files with 4 additions and 9 deletions

View File

@@ -3,11 +3,7 @@
<tr>
<% table.columns.each do |column| %>
<%= tag.th column.header_attributes do %>
<% if column.is_html_safe %>
<%= column.name.html_safe %>
<% else %>
<%= column.name %>
<% end %>
<%= column.name %>
<% end %>
<% end %>
</tr>