Permalink
Browse files

add span for button tag

  • Loading branch information...
1 parent 469148f commit acb3f903d539c6c2c1c7b13820982b9a4e266fe2 @pengwynn committed Sep 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/zocial_helper.rb
View
@@ -13,7 +13,7 @@ def zocial_button_tag(text, options={})
css_classes << 'zocial'
options[:class] = css_classes.uniq.join(" ")
- button_tag(text, options)
+ button_tag(content_tag(:span, text), options)
end
end

0 comments on commit acb3f90

Please sign in to comment.