namespace not needed, svg is the default one anyway

This commit is contained in:
John Bintz 2013-11-14 19:17:26 -05:00
parent 77b72b3118
commit 7cd12544c0

View File

@ -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("<svg:g />").first
new_group = clone.add_next_sibling("<g />").first
clone.attributes.each do |key, attribute|
new_group[attribute.name] = attribute.value