From 78b279c3d8c803391a5a4fc59ffd7855ce8bc5f5 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 23 Aug 2006 03:25:40 +0000 Subject: * Allow preprocessor directives to span multiple lines, both to make long ones with lots of values easier to write, and to allow for ones with multi-line quoted values. --- IkiWiki/Render.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index ddd146922..8657dc380 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -123,7 +123,7 @@ sub preprocess ($$$;$) { #{{{ } }; - $content =~ s{(\\?)$config{wiki_processor_regexp}}{$handle->($1, $2, $3)}eg; + $content =~ s{(\\?)\[\[(\w+)\s+((?:(?:\w+=)?(?:"[^"]+"|[^\s\]]+)\s*)*)\]\]}{$handle->($1, $2, $3)}eg; return $content; } #}}} -- cgit v1.2.3