Commit f0f3ff00 authored by Peter Karlsson's avatar Peter Karlsson

Forgot to fix the whitespace handling. The quote mark can now be followed by

any whitespace character, just not a single space.

CVS version numbers

english/sitemap.wml: 1.9 -> 1.10
parent 0fbf364f
......@@ -31,7 +31,7 @@ sub title_of {
$page = "$ENGLISHDIR/$page" unless (-f $page);
die "$page doesn't exist!\n" unless (-f $page);
my $title = `egrep '^#use .* title=' $page `; chomp $title;
$title =~ s/^#use .* title="(.+?)(" .*$|"$|"\e.*$)/$1/;
$title =~ s/^#use .* title="(.+?)("\s.*$|"$|"\e.*$)/$1/;
die "can't find a title in $page!\n" unless (($title) || ($title eq ""));
if ($CUR_LANG eq 'Japanese')
{
......
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