projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3efacb
)
Allow whitespace in page names.
author
Josh Triplett
<josh@freedesktop.org>
Thu, 7 Feb 2008 04:00:44 +0000
(20:00 -0800)
committer
Josh 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
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index ca75d885b3e738ef9e99923f6d8c17941a17bfd6..a81dcfd6ea173a840a8c9a9ff4d13193110f99b0 100644
(file)
--- 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