X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/febd26009e022853dcf4d28321386c733eb28fb3..bda31c6e71685413018bc60c274277205a8855a2:/Shiar_Sheet/Keyboard.pm diff --git a/Shiar_Sheet/Keyboard.pm b/Shiar_Sheet/Keyboard.pm index 327b20c..c7e455b 100644 --- a/Shiar_Sheet/Keyboard.pm +++ b/Shiar_Sheet/Keyboard.pm @@ -150,7 +150,7 @@ sub print_rows { ); my @modes = sort keys %{ $self->{def} }; - print ''."\n\n"; + printf '
'."\n\n", $self->{tableclass} // 'keys'; print_row: for (my $row = -1; $row <= $#{ $keyrows{$self->{map}} }; $row++) { @@ -243,7 +243,7 @@ Shiar_Sheet::Keyboard - Output HTML for key sheets =head1 DESCRIPTION -Used by http://sheet.shiar.nl to display keyboard sheets. +Used by https://sheet.shiar.nl to display keyboard sheets. Assumes specific stylesheets and javascript from this site, so probably not of much use elsewhere.