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


PRE_CONTENT_STRINGS = Hash.new { "" }


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

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

BOOLEAN_ATTRIBUTES = %w(allowfullscreen allowpaymentrequest async autofocus autoplay checked compact controls declare default defaultchecked defaultmuted defaultselected defer disabled enabled formnovalidate hidden indeterminate inert ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open pauseonexit playsinline readonly required reversed scoped seamless selected sortable truespeed typemustmatch visible).to_set


Show files where this module is defined (1 file)
Register or log in to add new notes.