Allow whitespace in page names.
authorJosh Triplett <josh@freedesktop.org>
Thu, 7 Feb 2008 04:00:44 +0000 (20:00 -0800)
committerJosh Triplett <josh@freedesktop.org>
Thu, 7 Feb 2008 04:02:25 +0000 (20:02 -0800)
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

index ca75d885b3e738ef9e99923f6d8c17941a17bfd6..a81dcfd6ea173a840a8c9a9ff4d13193110f99b0 100644 (file)
@@ -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