]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki.pm
web commit by http://id.loopysoft.com/matt/
[git.ikiwiki.info.git] / IkiWiki.pm
index a81dcfd6ea173a840a8c9a9ff4d13193110f99b0..1091ca8728ee94af5378247a409a9d6e0c45e552 100644 (file)
@@ -44,7 +44,7 @@ sub defaultconfig () { #{{{
                        \|              # followed by '|'
                )?                      # optional
                
                        \|              # followed by '|'
                )?                      # optional
                
-               ([^\]#]+)               # 2: page to link to
+               ([^\n\r\]#]+)           # 2: page to link to
                (?:
                        \#              # '#', beginning of anchor
                        ([^\s\]]+)      # 3: anchor text
                (?:
                        \#              # '#', beginning of anchor
                        ([^\s\]]+)      # 3: anchor text