* Correct some issues with escaped preprocessor directives.
[ikiwiki.git] / IkiWiki.pm
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};