<(common.inc.plp)><:
+use 5.014;
Html({
title => 'latin alphabet cheat sheet',
Also see <a href="/writing">related alphabets</a>
and <a href="/unicode">common chars</a>.</p>
-<div class="-diinfo">
+<div>
<:
my @table = do 'writing-latn.inc.pl';
printf "<p class=error>Table data not found: <em>%s</em>.</p>\n", $@ || $!;
}
else {
- print '<table class="glyphs">';
- print ref $_ ne 'ARRAY' ? "<tr><th>$_" : map {/^<td/ ? $_ : "<td>$_"} @$_ for @table;
- print "</table>\n\n";
+ say '<table class="glyphs">';
+ print ref $_ ne 'ARRAY' ? "<tr><th>$_\n" : map {/^<td/ ? $_ : "\t<td>$_\n"} @$_
+ for @table;
+ say "</table>\n";
}
-print "</div>\n";
+:></div>
})],
'Maritime flags' => [
# International Code of Signals, SVG fills
- map { '<svg width="20" height="20" viewBox="0 0 30 30">'.$_.'</svg>' }
+ map { '<svg width="20" height="20" viewBox="0 0 30 30">'.s/\n?\t+//gr.'</svg>' }
split /\n\n/, qq{
<path fill="$C{blue}" d="M0,0 h30 l-7.5,15 7.5,15 h-30 z"/>
<path fill="white" d="M0,0 h15 v30 h-15"/>
<path fill="white" d="M0,0 h30v30 h-30z"/>
<path fill="$C{blue}" d="M4,0h22l-11,11 M4,30h22l-11,-11 M0,4v22l11,-11 M30,4v22l-11,-11"/>
- <!--path fill="$C{blue}" d="M3,0h24l-12,12 M3,30h24l-12,-12 M0,3v24l12,-12 M30,3v24l-12,-12"/-->
<path fill="white" d="M0,0 h30v30 h-30z"/>
<path fill="$C{blue}" d="