lib/hanami/helpers/html_helper/html_fragment.rb in hanami-helpers-0.3.0 vs lib/hanami/helpers/html_helper/html_fragment.rb in hanami-helpers-0.4.0

- old
+ new

@@ -1,5 +1,7 @@ +require 'hanami/utils/escape' + module Hanami module Helpers module HtmlHelper # HTML Fragment # @@ -34,10 +36,10 @@ result = @builder.resolve(&@blk) if @builder.nested? @builder.to_s else - "#{ Utils::Escape.html(result) }" + Utils::Escape.html(result) end end end end end