build: fix corner case when extracting i18n tokens from templates
This commit is contained in:
parent
4ad686d732
commit
e3ac0fd78d
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ sub dec_lua_str
|
|||
sub dec_tpl_str
|
||||
{
|
||||
my $s = shift;
|
||||
$s =~ s/-$//;
|
||||
$s =~ s/[\s\n]+/ /g;
|
||||
$s =~ s/^ //;
|
||||
$s =~ s/ $//;
|
||||
|
|
Loading…
Reference in a new issue