Sha256: 8d5ee14f2126c0e07c6af3375401b71fd61d1fdeefdd572c8d0b84db3c794b4f

Contents?: true

Size: 335 Bytes

Versions: 4

Compression:

Stored size: 335 Bytes

Contents

# TagHelper will output HTML tags as opposed to self-closed XHTML tags.
# Shouldn't be needed for Rails >= version 3.
module ActionView::Helpers::TagHelper
  def tag_with_html_patch(name, options = nil, open = true, escape = true)
    tag_without_html_patch(name, options, true, escape)
  end
  alias_method_chain :tag, :html_patch
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 lib/enki/html5_tags.rb
enki-engine-0.0.4 lib/enki/html5_tags.rb
enki-engine-0.0.3 lib/enki/html5_tags.rb
enki-engine-0.0.2 lib/enki/html5_tags.rb