countries: change antarctica class to .an
[sheet.git] / emoji.plp
index 68c1ec2..00e7506 100644 (file)
--- a/emoji.plp
+++ b/emoji.plp
@@ -37,7 +37,8 @@ for my $system (qw'gmail msn yahoo') {
                }
                my ($input, $flags, $char, $desc) = @{ $info[++$i] };
                printf('<tr><th><img src="%s" alt="%s"><td><kbd>%s</kbd><td>%s%s'."\n",
-                       sprintf($meta->{icon} // '%s', $name), EscapeHTML($name),
+                       sprintf($meta->{ $flags =~ /\bext\b/ ? 'iconext' : 'icon' } // '%s', $name),
+                       EscapeHTML($name),
                        EscapeHTML($input),
                        $desc // $name,
                        $char ? '<td>'.chr($char) : '',