module

ActionView::Helpers::TagHelper

v5.0.0.1 - Show latest stable

Provides methods to generate HTML tags programmatically when you can’t use a Builder. By default, they output XHTML compliant tags.

Included modules

  • ActionView::Helpers::CaptureHelper
  • ActionView::Helpers::OutputSafetyHelper

Constants

BOOLEAN_ATTRIBUTES = %w(disabled readonly multiple checked autobuffer\nautoplay controls loop selected hidden scoped async\ndefer reversed ismap seamless muted required\nautofocus novalidate formnovalidate open pubdate\nitemscope allowfullscreen default inert sortable\ntruespeed typemustmatch).to_set

PRE_CONTENT_STRINGS = Hash.new { "".freeze }

TAG_PREFIXES = ['aria', 'data', :aria, :data].to_set

Files

  • actionview/lib/action_view/helpers/tag_helper.rb