mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
6 lines
127 B
Ruby
6 lines
127 B
Ruby
module HtmlHelper
|
|
def strip_html(html)
|
|
strip_tags(html).andand.gsub(/ /i, ' ').andand.gsub(/&/i, '&')
|
|
end
|
|
end
|