module
ActionView::Helpers::TagHelper
v5.1.7 -
Show latest stable
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
BOOLEAN_ATTRIBUTES = %w(allowfullscreen async autofocus autoplay checked\ncompact controls declare default defaultchecked\ndefaultmuted defaultselected defer disabled\nenabled formnovalidate hidden indeterminate inert\nismap itemscope loop multiple muted nohref\nnoresize noshade novalidate nowrap open\npauseonexit readonly required reversed scoped\nseamless selected sortable truespeed typemustmatch\nvisible).to_set
PRE_CONTENT_STRINGS = Hash.new { "" }
TAG_PREFIXES = ["aria", "data", :aria, :data].to_set
Files
- actionview/lib/action_view/helpers/tag_helper.rb