1a9b59ebb1
This reverts commit 2a2feb469eac7fe8b3957d11c6bc147cb63be51a.
6 lines
147 B
Ruby
6 lines
147 B
Ruby
module HtmlHelper
|
|
def format_html(html)
|
|
Loofah::HTML5::DocumentFragment.parse(html).scrub!(AutoLinkScrubber.new).to_html.html_safe
|
|
end
|
|
end
|