lib/asciidoctor/inline.rb in asciidoctor-1.5.6.2 vs lib/asciidoctor/inline.rb in asciidoctor-1.5.7

- old
+ new

@@ -19,11 +19,12 @@ @id = opts[:id] @type = opts[:type] @target = opts[:target] - unless (more_attributes = opts[:attributes]).nil_or_empty? - update_attributes more_attributes + # value of attributes option for inline nodes may be nil + if (attrs = opts[:attributes]) + @attributes = attrs.dup end end def block? false