diff --git a/lib/svggvs/target.rb b/lib/svggvs/target.rb index d70725e..248632a 100644 --- a/lib/svggvs/target.rb +++ b/lib/svggvs/target.rb @@ -69,7 +69,7 @@ module SVGGVS css('svg|use').each do |clone| if source = css(clone['xlink:href']).first if source.name == 'flowRoot' || source.name == 'text' - new_group = clone.add_next_sibling("").first + new_group = clone.add_next_sibling("").first clone.attributes.each do |key, attribute| new_group[attribute.name] = attribute.value