diff options
author | Josh Triplett <josh@freedesktop.org> | 2008-02-06 20:00:44 -0800 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2008-02-06 20:02:25 -0800 |
commit | 1bcfef8be8064cd85c9ab260bfddf0032d568c51 (patch) | |
tree | a56d5cfd3ccfdee39d454bdc675bf7664092261d /IkiWiki.pm | |
parent | f3efacb16d1292735d5107050271edba35599233 (diff) | |
download | ikiwiki-1bcfef8be8064cd85c9ab260bfddf0032d568c51.tar ikiwiki-1bcfef8be8064cd85c9ab260bfddf0032d568c51.tar.gz |
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__.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 2 |
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 |