From eff3015acfc6046ed92b5c669e42c39f99f86c0a Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 29 Jul 2015 13:05:08 +0200 Subject: [PATCH 1/1] latin: format tap code with multiline bullets --- writing-latn.inc.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl index 3db23c4..a185266 100644 --- a/writing-latn.inc.pl +++ b/writing-latn.inc.pl @@ -1,13 +1,13 @@ use utf8; sub disptap { - map { + return map { m/\A(-?)(\d)(\d)/; - $1 . '\\' # escape dot - . ('.̇' x ($2 < $3 ? $2 : $3)) # min($2,$3) without losing captures - . ('.' x ($3 - $2)) - . (' ̇' x ($2 - $3)) - } @_ + sprintf('%s ', + #TODO: prepend $1 + join "
\n", '•' x $2, '•' x $3, + ); + } @_; } my %C = qw(red #EC1C24 blue #3953A3 yellow #F9EC31 black #231F20); -- 2.30.0