module

ActionView::Helpers::TagHelper

Provides methods to generate HTML tags programmatically both as a modern HTML5 compliant builder style and legacy XHTML compliant tags.

Included modules

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

Constants

ARIA_PREFIXES = ["aria", :aria].to_set.freeze

BOOLEAN_ATTRIBUTES = %w(allowfullscreen allowpaymentrequest async autofocus\nautoplay checked compact controls declare default\ndefaultchecked defaultmuted defaultselected defer\ndisabled enabled formnovalidate hidden indeterminate\ninert ismap itemscope loop multiple muted nohref\nnomodule noresize noshade novalidate nowrap open\npauseonexit playsinline readonly required reversed\nscoped seamless selected sortable truespeed\ntypemustmatch visible).to_set

DATA_PREFIXES = ["data", :data].to_set.freeze

PRE_CONTENT_STRINGS = Hash.new { "" }

TAG_TYPES = {}

Files

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