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

This commit is contained in:
Jo-Philipp Wich 2011-01-14 22:51:21 +00:00
parent 86a13c6ab9
commit 939218ae82

View file

@ -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, '<%', '%>');