summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index ca75d885b..a81dcfd6e 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -44,7 +44,7 @@ sub defaultconfig () { #{{{
\| # followed by '|'
)? # optional
- ([^\s\]#]+) # 2: page to link to
+ ([^\]#]+) # 2: page to link to
(?:
\# # '#', beginning of anchor
([^\s\]]+) # 3: anchor text