build: properly handle i18n tags with whitespace strip tokens in i18n-scan.pl
This commit is contained in:
parent
86a13c6ab9
commit
939218ae82
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ if( open F, "find @ARGV -type f '(' -name '*.htm' -o -name '*.lua' ')' |" )
|
||||||
|
|
||||||
$text = $raw;
|
$text = $raw;
|
||||||
|
|
||||||
while( $text =~ s/ ^ .*? <% [:_] -? /<%/sgx )
|
while( $text =~ s/ ^ .*? <% -? [:_] /<%/sgx )
|
||||||
{
|
{
|
||||||
( my $code, $text ) = extract_tagged($text, '<%', '%>');
|
( my $code, $text ) = extract_tagged($text, '<%', '%>');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue