instance method
fragment_for_html
Ruby on Rails 7.1.6
Since v6.0.6Signature
fragment_for_html(html)
No documentation comment.
Parameters
-
htmlreq
Source
# File actiontext/lib/action_text/html_conversion.rb, line 11
def fragment_for_html(html)
document.fragment(html)
end
Defined in actiontext/lib/action_text/html_conversion.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::HtmlConversion