diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-09 19:09:16 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-09 19:09:16 -0400 |
commit | a473cb2f74738d369130135b8c3ce0f6ef66af02 (patch) | |
tree | 1593cd60871e8376f4b0c13fe54b6326195076de /IkiWiki | |
parent | 8c191adf5c8be51c9b60f597b0de78a7341d5a04 (diff) |
orphans: Fix unquoted page name in regexp.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/orphans.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/orphans.pm b/IkiWiki/Plugin/orphans.pm index b910758e0..32cbc5dd5 100644 --- a/IkiWiki/Plugin/orphans.pm +++ b/IkiWiki/Plugin/orphans.pm @@ -43,7 +43,7 @@ sub preprocess (@) { #{{{ next if grep { length $_ && ($_ !~ /\/\Q$discussion\E$/i || ! $config{discussion}) && - bestlink($page, $_) !~ /^($page|)$/ + bestlink($page, $_) !~ /^(\Q$page\E|)$/ } @{$links{$page}}; push @orphans, $page; } |