]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
* Don't allow whitespace in link text in a wikilink. This was still
[ikiwiki.git] / IkiWiki.pm
index 0b9790d8a15078f242e21db3ab80e14084eab09d..1c87831879afd5f154983123d3da1b7b188758ee 100644 (file)
@@ -39,7 +39,7 @@ sub defaultconfig () { #{{{
        wiki_link_regexp => qr{
                \[\[                    # beginning of link
                (?:
-                       ([^\]\|\n]+)    # 1: link text
+                       ([^\]\|\n\s]+)  # 1: link text
                        \|              # followed by '|'
                )?                      # optional