Sha256: 37a2214d3a5833aafc1f9c7214679c2ff3996a5ff12d4164fe761fabb37d45dc
Contents?: true
Size: 677 Bytes
Versions: 33
Compression:
Stored size: 677 Bytes
Contents
<!-- Standard HTML tags that have been enhanced in RAPID, as well as closely related tags --> <!-- Renders an `<html>` tag along with the DOCTYPE specified in the `doctype` attribute. ### Attributes - `doctype` - the version of the DOCTYPE required. See the `version` attribute to `<doctype>` --> <def tag="html" attrs="doctype"> <% doctype ||= 'html' -%> <doctype version="&doctype"/> <% attributes.reverse_merge!(:xmlns => "http://www.w3.org/1999/xhtml") if doctype.upcase =~ /^XHTML/ -%> <%=raw "<html#{tag_options(attributes, true)}>" %> <set-scoped xmldoctype="&doctype.upcase =~ /^XHTML/"><do param="default"/></set-scoped> <%=raw "</html>" %> </def>
Version data entries
33 entries across 33 versions & 1 rubygems