* Correct some issues with escaped preprocessor directives.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 20 Jul 2007 17:55:19 +0000 (17:55 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 20 Jul 2007 17:55:19 +0000 (17:55 +0000)
IkiWiki.pm
debian/changelog

index 8da2ddde4bddef185e8c397147c21357ca8b7cd1..b4c588c3a39f42bd383170b2b3938195da8cf8d7 100644 (file)
@@ -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};
index bccab6f24d85eb792e1d38ec9c5ca66846043d57..66d14646603d3b38754e658b85fc480db2adb0ad 100644 (file)
@@ -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 <joeyh@debian.org>  Mon, 16 Jul 2007 01:11:03 -0400
+ -- Joey Hess <joeyh@debian.org>  Fri, 20 Jul 2007 13:54:02 -0400
 
 ikiwiki (2.4) unstable; urgency=low