templates/helpers.rb in asciidoctor-revealjs-1.1.1 vs templates/helpers.rb in asciidoctor-revealjs-1.1.3

- old
+ new

@@ -51,10 +51,10 @@ attrs = attributes.inject([]) do |attrs, (k, v)| next attrs if !v || v.nil_or_empty? v = v.compact.join(' ') if v.is_a? Array attrs << (v == true ? k : %(#{k}="#{v}")) end - attrs_str = attrs.empty? ? '' : attrs.join(' ').prepend(' ') + attrs_str = attrs.empty? ? '' : ' ' + attrs.join(' ') if VOID_ELEMENTS.include? name.to_s %(<#{name}#{attrs_str}>) else