module Hanami::View::HTML::StringExtensions
@api private @since 2.1.0
Public Instance Methods
Source
# File lib/hanami/view/html.rb, line 70 def html_safe Hanami::View::HTML::SafeString.new(self) end
Returns the string as a {Hanami::View::HTML::SafeString}, ensuring the string is not automatically escaped when used in HTML
view templates.
@return [Hanami::View::HTML::SafeString]
@api public @since 2.1.0