diff --git a/vendor/plugins/hobo/hobo/taglibs/core.dryml b/vendor/plugins/hobo/hobo/taglibs/core.dryml
index 5b37bc5..5364e31 100644
--- a/vendor/plugins/hobo/hobo/taglibs/core.dryml
+++ b/vendor/plugins/hobo/hobo/taglibs/core.dryml
@@ -4,7 +4,9 @@
It's the DRYML equivalent of Ruby's `send` method.
-->
- <%= send(tag.gsub('-', '_'), attributes, parameters) %>
+ <%= Hobo.static_tags.include?(tag) ?
+ content_tag(tag, parameters.default, attributes) :
+ send(tag.gsub('-', '_'), attributes, parameters) %>
@@ -15,13 +17,21 @@ Using regular DRYML conditional logic it is rather akward to conditionally wrap
### Usage
For example, you might want to wrap an `` tag in an `` tag but only under certain conditions. Say the current context has an `href` attribute that may or may not be nil. We want to wrap the img in `` if `href` is not nil:
-
+
-{: .dryml}
+{: .dryml}
-->
<% parameter ||= :default %>
- <%= when_ ? send(tag, attributes, { parameter.to_sym => parameters[:default] }) : parameters.default %>
+ <%= if when_
+ if Hobo.static_tags.include?(tag)
+ content_tag(tag, parameters.default, attributes)
+ else
+ send(tag.gsub('-', '_'), attributes, { parameter.to_sym => parameters[:default] })
+ end
+ else
+ parameters.default
+ end %>