* Change yet again how unhandled and escaped preprocessor directives are

re-output onto the page. Hopefully I finally got it right..
master
joey 2007-08-13 17:35:14 +00:00
parent 7d6be3e540
commit b4dafe467b
3 changed files with 6 additions and 4 deletions

View File

@ -626,7 +626,7 @@ sub preprocess ($$$;$$) { #{{{
my $command=shift; my $command=shift;
my $params=shift; my $params=shift;
if (length $escape) { if (length $escape) {
return "\\[[$command $params]]"; return "[[$command $params]]";
} }
elsif (exists $hooks{preprocess}{$command}) { elsif (exists $hooks{preprocess}{$command}) {
return "" if $scan && ! $hooks{preprocess}{$command}{scan}; return "" if $scan && ! $hooks{preprocess}{$command}{scan};
@ -687,7 +687,7 @@ sub preprocess ($$$;$$) { #{{{
return $ret; return $ret;
} }
else { else {
return "\\[[$command $params]]"; return "[[$command $params]]";
} }
}; };

4
debian/changelog vendored
View File

@ -25,8 +25,10 @@ ikiwiki (2.6) UNRELEASED; urgency=low
* Fix --libdir to work at the command line. * Fix --libdir to work at the command line.
* Plugins can now be written as standalone external programs, which can * Plugins can now be written as standalone external programs, which can
be written in any language that can do XML RPC. be written in any language that can do XML RPC.
* Change yet again how unhandled and escaped preprocessor directives are
re-output onto the page. Hopefully I finally got it right..
-- Joey Hess <joeyh@debian.org> Sun, 12 Aug 2007 20:49:23 -0400 -- Joey Hess <joeyh@debian.org> Mon, 13 Aug 2007 13:34:29 -0400
ikiwiki (2.5) unstable; urgency=low ikiwiki (2.5) unstable; urgency=low

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-08-12 22:57-0400\n" "POT-Creation-Date: 2007-08-13 13:33-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"