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

Version Path
hobo_rapid-2.2.6 taglibs/html/html.dryml
hobo_rapid-2.2.5 taglibs/html/html.dryml
hobo_rapid-2.2.4 taglibs/html/html.dryml
hobo_rapid-2.2.3 taglibs/html/html.dryml
hobo_rapid-2.2.2 taglibs/html/html.dryml
hobo_rapid-2.2.1 taglibs/html/html.dryml
hobo_rapid-2.2.0 taglibs/html/html.dryml
hobo_rapid-2.1.2 taglibs/html/html.dryml
hobo_rapid-2.1.1 taglibs/html/html.dryml
hobo_rapid-2.1.0 taglibs/html/html.dryml
hobo_rapid-2.1.0.pre4 taglibs/html/html.dryml
hobo_rapid-2.1.0.pre3 taglibs/html/html.dryml
hobo_rapid-2.1.0.pre2 taglibs/html/html.dryml
hobo_rapid-2.1.0.pre1 taglibs/html/html.dryml
hobo_rapid-2.0.1 taglibs/html/html.dryml
hobo_rapid-2.0.0 taglibs/html/html.dryml
hobo_rapid-2.0.0.pre10 taglibs/html/html.dryml
hobo_rapid-2.0.0.pre9 taglibs/html/html.dryml
hobo_rapid-2.0.0.pre8 taglibs/html/html.dryml
hobo_rapid-2.0.0.pre7 taglibs/html/html.dryml