From: Mischa POSLAWSKY Date: Sun, 23 Apr 2017 19:00:23 +0000 (+0200) Subject: writing: consistent cell class in legend X-Git-Tag: v1.10~78 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/a748ed6eb94a8cb8b7cf09ef9f87104e8f371f82 writing: consistent cell class in legend Enforce .X, adding it on .ex column. --- diff --git a/Shiar_Sheet/FormatChar.pm b/Shiar_Sheet/FormatChar.pm index 6772dfc..839144f 100644 --- a/Shiar_Sheet/FormatChar.pm +++ b/Shiar_Sheet/FormatChar.pm @@ -276,17 +276,17 @@ sub print { sub legend { my @classes = ( - ["X l5" => 'unicode 1.1'], - ["X l4" => '20th century'], - ["X l3" => 'in 6.0 (2010)'], - ["X l2" => 'recent assignments'], - ["X l1" => 'proposed'], - ["ex" => 'irregular'], + [l5 => 'unicode 1.1'], + [l4 => '20th century'], + [l3 => 'in 6.0 (2010)'], + [l2 => 'recent assignments'], + [l1 => 'proposed'], + [ex => 'irregular'], ); return ( '
', - (map { sprintf '
%s', @{$_} } @classes), + (map { sprintf '%s', @{$_} } @classes), '
', ); }