module ToHtml
Defined in:
attribute_hash.crinstance_tag_attrs.cr
instance_template.cr
tag_names.cr
Constant Summary
-
TAG_NAMES =
["a", "abbr", "address", "article", "aside", "audio", "b", "bdi", "bdo", "blockquote", "body", "button", "canvas", "caption", "cite", "code", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "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", "menu", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "u", "ul", "var", "video"] of ::String -
VOID_TAG_NAMES =
["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "param", "source", "track", "wbr"] of ::String
Macro Summary
- class_tag_attrs(&blk)
- class_template(&blk)
- instance_tag_attrs(&blk)
- instance_template(&blk)
- to_html_add_tag(io, indent_level, break_line, call)
- to_html_add_void_tag(io, indent_level, break_line, call)
- to_html_attrs_eval_exp(exp)
- to_html_attrs_eval_exps(&blk)
- to_html_eval_exp(io, indent_level, break_line = true, &blk)
- to_html_eval_exps(io, indent_level, &blk)