From: joey Date: Fri, 20 Jul 2007 17:55:19 +0000 (+0000) Subject: * Correct some issues with escaped preprocessor directives. X-Git-Tag: 2.5~81 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4936b3db88a9070151bff79ea65c4bb89caac956;p=ikiwiki.git * Correct some issues with escaped preprocessor directives. --- diff --git a/IkiWiki.pm b/IkiWiki.pm index 8da2ddde4..b4c588c3a 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -606,7 +606,7 @@ sub preprocess ($$$;$$) { #{{{ my $command=shift; my $params=shift; if (length $escape) { - return "[[$command $params]]"; + return "\\[[$command $params]]"; } elsif (exists $hooks{preprocess}{$command}) { return "" if $scan && ! $hooks{preprocess}{$command}{scan}; diff --git a/debian/changelog b/debian/changelog index bccab6f24..66d146466 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,9 @@ ikiwiki (2.5) UNRELEASED; urgency=low * Wrap the editpage template in the standard misctemplate, this allows the pagetemplate hook to work for that page. * Above change fixes the favicon plugin to work on edit pages. + * Correct some issues with escaped preprocessor directives. - -- Joey Hess Mon, 16 Jul 2007 01:11:03 -0400 + -- Joey Hess Fri, 20 Jul 2007 13:54:02 -0400 ikiwiki (2.4) unstable; urgency=low