generators/flag.rb in phlex-icons-radix-0.17.0 vs generators/flag.rb in phlex-icons-radix-1.0.0

- old
+ new

@@ -56,10 +56,10 @@ def read_and_convert_icon(icon_file_path) icon_file_content = File.read(icon_file_path) .sub(/id="flag-icons-[^"]*"/, '') Phlexing::Converter.convert(icon_file_content) - .sub('svg(', "svg(\nclass: classes,") + .sub('svg(', "svg(\n**attrs,") .sub('xmlns:xlink:', '"xmlns:xlink":') .gsub('xlink:href:', '"xlink:href":') end def square_icon_file_path(icon_file_name)