Skip to content

Commit

Permalink
add span for button tag
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwynn committed Sep 25, 2011
1 parent 469148f commit acb3f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zocial_helper.rb
Expand Up @@ -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.