nicer to look at
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user