From 1bcfef8be8064cd85c9ab260bfddf0032d568c51 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Wed, 6 Feb 2008 20:00:44 -0800 Subject: [PATCH] Allow whitespace in page names. Spaces in page names map to underscores in file names. Newlines and tabs follow ikiwiki's usual filename escaping rules: __10__ and __9__. --- IkiWiki.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5