Sha256: 1ad0d1286be12580633f92353ecec386d435e664929a72af79d87b82c9d62af2
Contents?: true
Size: 910 Bytes
Versions: 8
Compression:
Stored size: 910 Bytes
Contents
module Quarto class HtmlTransformer < Transformer HTML_ELEMENTS = %w( a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center cite code col colgroup dd del dfn dir div dl dt em fieldset font form frame frameset h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label legend li link map menu meta noframes noscript object ol optgroup option p param pre q s samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead title tr tt u ul var ) protected def literal?(element) HTML_ELEMENTS.include?(element.name) end end end
Version data entries
8 entries across 8 versions & 1 rubygems