module
v4.2.1 -
Show latest stable
-
0 notes
Provides methods to generate HTML tags programmatically when you can’t use a Builder. By default, they output XHTML compliant tags.
Constants
BOOLEAN_ATTRIBUTES = %w(disabled readonly multiple checked autobuffer autoplay controls loop selected hidden scoped async defer reversed ismap seamless muted required autofocus novalidate formnovalidate open pubdate itemscope allowfullscreen default inert sortable truespeed typemustmatch).to_set
TAG_PREFIXES = ['aria', 'data', :aria, :data].to_set
PRE_CONTENT_STRINGS = { :textarea => "\n" }