Skip to content

Remove some unneeded html_safe calls [can be updated]

Matthias Käppler requested to merge github/fork/cirosantilli/rm-html-safe into master

Created by: cirosantilli

Those calls are not necessary because:

  • content_tag calls it on it's output already: what could make a difference would be to call html_safe on the input of that function
  • the concatenation + of SafeBuffer (returned by html_safe) is another SafeBuffer.
  • link_to uses content_tag

Merge request reports

Loading