summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-13 17:35:14 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-13 17:35:14 +0000
commitb4dafe467be5f6c885204887aeae2f4d513b3640 (patch)
treeaf85d28ee38f184b1ae5703b11ac6468d5059300 /IkiWiki.pm
parent7d6be3e5406b48047a47d2b7ea7acb471f9e5386 (diff)
* Change yet again how unhandled and escaped preprocessor directives are
re-output onto the page. Hopefully I finally got it right..
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 7c35ce2b5..37c73cb9f 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -626,7 +626,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};
@@ -687,7 +687,7 @@ sub preprocess ($$$;$$) { #{{{
return $ret;
}
else {
- return "\\[[$command $params]]";
+ return "[[$command $params]]";
}
};