X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/957d75295b2c379b17e61a2a22ee28fb5f701589..18d26c0d81f1d0e39e90e1339b73037762df4e6f:/lib/diff_reader.rb?ds=sidebyside diff --git a/lib/diff_reader.rb b/lib/diff_reader.rb index 459143076..6ffe3806a 100644 --- a/lib/diff_reader.rb +++ b/lib/diff_reader.rb @@ -57,7 +57,7 @@ class DiffReader # care of that for us. if @reader.node_type == 1 # element name = @reader.name - attributes = {} + attributes = {} if @reader.has_attributes? while @reader.move_to_next_attribute == 1