提交 939218ae 编写于 作者: J Jo-Philipp Wich

build: properly handle i18n tags with whitespace strip tokens in i18n-scan.pl

上级 86a13c6a
......@@ -72,7 +72,7 @@ if( open F, "find @ARGV -type f '(' -name '*.htm' -o -name '*.lua' ')' |" )
$text = $raw;
while( $text =~ s/ ^ .*? <% [:_] -? /<%/sgx )
while( $text =~ s/ ^ .*? <% -? [:_] /<%/sgx )
{
( my $code, $text ) = extract_tagged($text, '<%', '%>');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册