lib/bootstrap-helpers.rb in bootstrap-helpers-0.1.8 vs lib/bootstrap-helpers.rb in bootstrap-helpers-0.1.9
- old
+ new
@@ -71,10 +71,10 @@
def icon(icon_id, opts={})
opts[:class] ||= ""
opts[:class] << " icon icon-#{icon_id}"
opts[:class].strip!
- tag :i, opts
+ content_tag :i, "", opts
end
# ============
# = Base CSS =
# ============