printf '<td class="%s">%s', @{$_} for (
[$ascii ? 'l5' : defined $altkey ? 'l4' : 'l3', $altkey],
[defined $mnem ? $class =~ /\bu-di\b/ ? 'l4' : 'l3' : $ascii ? 'l5' : 'l1',
EscapeHTML($mnem) // sprintf('%s%0*X', $codepoint < 256 ? (x => 2) : (u => 4), $codepoint)],
printf '<td class="%s">%s', @{$_} for (
[$ascii ? 'l5' : defined $altkey ? 'l4' : 'l3', $altkey],
[defined $mnem ? $class =~ /\bu-di\b/ ? 'l4' : 'l3' : $ascii ? 'l5' : 'l1',
EscapeHTML($mnem) // sprintf('%s%0*X', $codepoint < 256 ? (x => 2) : (u => 4), $codepoint)],