From: Mischa POSLAWSKY Date: Sun, 28 Jul 2013 21:41:12 +0000 (+0200) Subject: keys: structure keyboard as html table X-Git-Tag: v1.6~81 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/8da63edfda172244fb15ffd3cf69223fe06d4898?hp=24b8d5b432e2db690c5a8a812d75519447a09a52 keys: structure keyboard as html table Unordered list originally to avoid table for layout purposes, but keys are clearly to be arranged in a grid. Mostly moot with CSS, but improves rendering in text browsers. --- diff --git a/Shiar_Sheet/Keyboard.pm b/Shiar_Sheet/Keyboard.pm index 6819236..adaa3dd 100644 --- a/Shiar_Sheet/Keyboard.pm +++ b/Shiar_Sheet/Keyboard.pm @@ -113,7 +113,7 @@ sub print_key { ); $flags .= ' chr'.ord(substr $key, -1) if $key ne '^0'; - print qq{\t\t
  • $keytxt}; + print qq{\t\t$keytxt}; print "\n"; } @@ -126,12 +126,12 @@ sub print_rows { my $defrows = shift || [2, 1, 0]; my @modes = sort keys %{ $self->{def} }; - print '