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

Attributes

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