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