summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-23 05:57:07 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-23 05:57:07 +0000
commitf27bf9e4006c55b45624d6fbb47dc3c625f919b9 (patch)
tree81f6fac7f238ab1d950e0cdaa4961c3f1ddfb3c5
parent24af25fc86094621313147a6beed1a74bfbbd9f7 (diff)
fixes
-rw-r--r--IkiWiki/Plugin/template.pm1
-rw-r--r--IkiWiki/Render.pm2
-rw-r--r--doc/index.mdwn2
3 files changed, 2 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/template.pm b/IkiWiki/Plugin/template.pm
index 5b4eeb3a8..7e23306cb 100644
--- a/IkiWiki/Plugin/template.pm
+++ b/IkiWiki/Plugin/template.pm
@@ -44,7 +44,6 @@ sub preprocess (@) { #{{{
$template->param($param => $params{$param});
}
-
return IkiWiki::preprocess($params{page}, $params{destpage},
$template->output);
} # }}}
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 38bfcdfcb..d988e0956 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -104,7 +104,7 @@ sub preprocess ($$$;$) { #{{{
# Note: preserve order of params, some plugins may
# consider it significant.
my @params;
- while ($params =~ /(?:(\w+)=)?(?:"""(.+)"""|"([^"]+)"|(\S+))(?:\s+|$)/g) {
+ while ($params =~ /(?:(\w+)=)?(?:"""(.+)"""|"([^"]+)"|(\S+))(?:\s+|$)/sg) {
if (defined $1) {
push @params, $1, (defined $2 ? $2 : (defined $3 ? $3 : $4));
}
diff --git a/doc/index.mdwn b/doc/index.mdwn
index 8258dcca4..2f78f11aa 100644
--- a/doc/index.mdwn
+++ b/doc/index.mdwn
@@ -12,7 +12,7 @@ Instead it can use [[Subversion]] (or [[Git]]).
and thoughts about ikiwiki to [[Discussion]].
[[template id=note text="""
-If you use ikiwiki, please list your wiki in IkiWikiUsers. Thanks!
+If you use ikiwiki, please list your wiki in [[IkiWikiUsers]]. Thanks!
"""]]
* [[Setup]] has a tutorial for setting up ikiwiki, and [[Usage]] documents