Files
openfoodnetwork/app/helpers/html_helper.rb

6 lines
113 B
Ruby

module HtmlHelper
def strip_html(html)
strip_tags(html).gsub(/ /i, ' ').gsub(/&/i, '&')
end
end