Escape row cell when not AS::SafeBuffer (#6146)

[ci skip]
pull/6147/head
Oliver Günther 7 years ago committed by GitHub
parent fbbae21f2b
commit 5cd6bc0701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      app/cells/row_cell.rb

@ -12,7 +12,12 @@ class RowCell < RailsCell
end
def column_value(column)
send column
value = send column
if value.html_safe?
value
else
h(value)
end
end
def row_css_id

Loading…
Cancel
Save