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 { "" }

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

BOOLEAN_ATTRIBUTES = %w(allowfullscreen async autofocus autoplay checked compact controls declare default defaultchecked defaultmuted defaultselected defer disabled enabled formnovalidate hidden indeterminate inert ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open pauseonexit 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.