Commit fcc328c3 authored by Richard Mansfield's avatar Richard Mansfield

Deal with carriage return instead of space in reference

parent b396a243
......@@ -30,7 +30,7 @@ foreach my $po (@$strings) {
my $filename = $1 . $lang . $2 . '.html';
$htmlfiles{$filename} = $po->dequote($content);
}
elsif ($reference =~ m{^htdocs/(\S*lang/)\S+\.utf8(/\S+)\.php (\S+)$}) {
elsif ($reference =~ m{^htdocs/(\S*lang/)\S+\.utf8(/\S+)\.php\s+(\S+)$}) {
my $key = $3;
my $filename = $1 . $lang . $2 . '.php';
$phpfiles{$filename}->{$key} = $content;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment