Class: ExpressTemplates::Markup::HtmlTag
- Defined in:
- lib/express_templates/markup/html_tag.rb
Constant Summary collapse
- NON_VOID_TAGS =
[:a, :abbr, :address, :article, :aside, :audio, :b, :bdi, :bdo, :blockquote, :body, :button, :canvas, :caption, :cite, :code, :colgroup, :data, :datalist, :dd, :del, :details, :dfn, :div, :dl, :dt, :em, :fieldset, :figcaption, :figure, :footer, :form, :h1, :h2, :h3, :h4, :h5, :h6, :head, :header, :html, :i, :iframe, :ins, :kbd, :label, :legend, :li, :main, :map, :mark, :math, :menu, :menuitem, :meter, :nav, :noscript, :object, :ol, :optgroup, :option, :output, :p, :pre, :progress, :q, :rp, :rt, :ruby, :s, :samp, :script, :section, :select, :small, :span, :strong, :style, :sub, :sup, :summary, :svg, :table, :tbody, :td, :textarea, :tfoot, :th, :thead, :time, :title, :tr, :u, :ul, :var, :video]
- VOID_TAGS =
[:area, :base, :br, :col, :command, :doctype, :embed, :hr, :img, :input, :keygen, :link, :meta, :param, :source, :track, :wbr]
- ALL_TAGS =
NON_VOID_TAGS + VOID_TAGS
Constants inherited from Tag
Instance Attribute Summary
Attributes inherited from Tag
Method Summary
Methods inherited from Tag
#add_css_class, #close_tag, #compile, formatted, #html_options, #macro_name, macro_name, #method_missing, #should_not_abbreviate?, #start_tag, #to_template, #transform_close_tag?
Methods included from ExpressTemplates::Macro
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ExpressTemplates::Markup::Tag