use utf8;
use strict;
use warnings;
+no warnings 'qw'; # to quote or not to quote, that is the question
use open IO => ':utf8';
our $VERSION = '1.0';
);
my @chars2 = (['_'], @chars); # trailing character (extended set)
-print '<table><col>';
+print '<table class="glyphs dimap"><col>';
print qq'<colgroup span="$_">' for map {scalar @$_} @chars2;
print "</colgroup><col>\n";
for my $section (qw{thead tfoot}) {
- print "<$section><tr><th> ";
+ print "<$section><tr><th>↳";
print '<th>', quote($_) for map {@$_} @chars2;
print "<th> \n";
}
print "</table>\n";
:>
<div id="legend">
- <table><tr>
+ <table class="glyphs"><tr>
<td class="X Cc">control
<td class="X Zs"><span>spacing</span>
<td class="X Mn">modifier
<td class="X Bopomofo">chinese
</table>
- <table><tr>
+ <table class="glyphs"><tr>
<td class="X">unicode
<td class="X Xl">latin1
<td class="X Xa">ascii
</div>
<p id="footer">
- <a href="http://vi.shiar.net/digraphs">vi.<strong>shiar.net</strong>/digraphs</a>
- <a href="git://dev.shiar.net/vi-cheat"><:= "v$VERSION" :></a>
- created by Shiar •
- <a title="Licensed under the GNU Affero General Public License, version 3"
+ <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/digraphs
+ <a href="git://dev.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= "v$VERSION" :></a>
+ created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
+ <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> •
last update <:
use Time::Format qw(time_format);