nicer to look at

This commit is contained in:
Tom Preston-Werner
2010-04-19 15:54:09 -07:00
parent 9d2ab0df6e
commit 41432ddc60
+3 -5
View File
@@ -118,11 +118,9 @@ module Gollum
attr_string = attrs.size > 0 ? attrs.join(' ') + ' ' : '' attr_string = attrs.size > 0 ? attrs.join(' ') + ' ' : ''
style_string = style_string = ''
if styles.empty? unless styles.empty?
'' style_string = %{ style="#{styles.join(' ')}"}
else
%{ style="#{styles.join(' ')}"}
end end
if opts['frame'] || floated if opts['frame'] || floated