module
v4.2.9 -
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
PRE_CONTENT_STRINGS = { :textarea => "\n" }
TAG_PREFIXES = ['aria', 'data', :aria, :data].to_set
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