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(' ') + ' ' : ''
style_string =
if styles.empty?
''
else
%{ style="#{styles.join(' ')}"}
style_string = ''
unless styles.empty?
style_string = %{ style="#{styles.join(' ')}"}
end
if opts['frame'] || floated