Unverified Commit 3699f7e6 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #629 from ldidry/fix-581 by ldidry

Don’t capture extra spaces at the end of line in topics.conf
parents e1040a5c 2ceea136
......@@ -227,7 +227,7 @@ sub load_topics {
'name' => lc($1),
'order' => $index
};
} elsif ($line =~ /^([\w\.]+)\s+(.+)\s*$/) {
} elsif ($line =~ /^([\w\.]+)\s+(.+\S)\s*$/) {
next unless defined $topic->{'name'};
$topic->{$1} = $2;
......
Supports Markdown
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