escape special html characters in key descriptions
[sheet.git] / nethack.plp
index 5db14cd4c24fbda23c227c1bf958112d0c166184..9b8606babc5499f0782521ac1d232e683da5899e 100644 (file)
@@ -53,7 +53,7 @@ $header{content_type} = "text/html; charset=$sign{charset}";
 use Shiar_Sheet::Keyboard;
 my $keys = Shiar_Sheet::Keyboard->new({do 'nethack.inc.pl'});
 $keys->map($get{map}) or undef $get{map};
-$keys->print_rows($get{static} || '4321-421');
+$keys->print_rows($get{rows} || '4321-421', [3,2,1,0]);
 :>
 </ul>