From 4936b3db88a9070151bff79ea65c4bb89caac956 Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 20 Jul 2007 17:55:19 +0000 Subject: [PATCH 1/1] * Correct some issues with escaped preprocessor directives. --- IkiWiki.pm | 2 +- debian/changelog | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.45.1