Sha256: 576d8611de08f2bd63f75278524653f079181606d3fb8cae32b9489eb69cf162

Contents?: true

Size: 157 Bytes

Versions: 18

Compression:

Stored size: 157 Bytes

Contents

require 'hamlit/hamlit'

module Hamlit
  module Utils
    def self.escape_html_safe(html)
      html.html_safe? ? html : escape_html(html)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hamlit-2.2.4 lib/hamlit/utils.rb
hamlit-2.6.1 lib/hamlit/utils.rb
hamlit-2.6.0 lib/hamlit/utils.rb
hamlit-2.5.0 lib/hamlit/utils.rb
hamlit-2.4.2 lib/hamlit/utils.rb
hamlit-2.4.1 lib/hamlit/utils.rb
hamlit-2.4.0 lib/hamlit/utils.rb
hamlit-2.3.1 lib/hamlit/utils.rb
hamlit-2.3.0 lib/hamlit/utils.rb
hamlit-2.2.3 lib/hamlit/utils.rb
hamlit-2.2.2 lib/hamlit/utils.rb
hamlit-2.2.1 lib/hamlit/utils.rb
hamlit-2.2.0 lib/hamlit/utils.rb
hamlit-2.1.2 lib/hamlit/utils.rb
hamlit-2.1.1 lib/hamlit/utils.rb
hamlit-2.1.0 lib/hamlit/utils.rb
hamlit-2.0.2 lib/hamlit/utils.rb
hamlit-2.0.1 lib/hamlit/utils.rb