You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/home/ben/software/install/bin/perl
use warnings;
use strict;
use utf8;
use FindBin '$Bin';
use File::Slurper qw!read_text write_text!;
my @svgs = <$Bin/images/svg/*.svg>;
for my $file (@svgs) {
my $text = read_text ($file);
if ($text =~ s!xlink:href!href!g) {
write_text ($file, $text);
}
}
The text was updated successfully, but these errors were encountered:
But several of the Super Tiny Icons use href without xlink so I guess it should be consistent.
Only two, after just a quick manual glance; google_drive.svg and tiktok.svg.
Because they are SVG2, they do not display correctly using Ubuntu Image viewer and/or Inkscape and/or Emacs image display mode. For more info, see #543
Apparently xlink:href is obsolete and should be replaced with href:
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
I used this script to replace them all:
The text was updated successfully, but these errors were encountered: