Sha256: 5d93534ef1749872d084a80a7312ef32f2d16801c83d93838d4db330ff4d4394

Contents?: true

Size: 337 Bytes

Versions: 5

Compression:

Stored size: 337 Bytes

Contents

# This file contains code based on the EscapeUtils project.  See the file LICENSE-EscapeUtils.txt for details.
require 'walters/html/html_safety'

class ERB
  module Util
    include ::Walters::HtmlSafety

    alias html_escape walters_escape_html
    alias h html_escape
    module_function :h
    module_function :html_escape
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
walters-0.3.0-java lib/walters/html/erb.rb
walters-0.3.0 lib/walters/html/erb.rb
walters-0.2.0-java lib/walters/html/erb.rb
walters-0.2.0 lib/walters/html/erb.rb
walters-0.1.1 lib/walters/html/erb.rb