update
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 23 Aug 2006 06:08:12 +0000 (06:08 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 23 Aug 2006 06:08:12 +0000 (06:08 +0000)
IkiWiki/Render.pm
doc/index.mdwn

index d988e09563f3eac4598f5fbeee81fff78708a88f..5351ee7adedc9e09caff4d6df270ee15b9d8b989 100644 (file)
@@ -104,12 +104,14 @@ sub preprocess ($$$;$) { #{{{
                        # Note: preserve order of params, some plugins may
                        # consider it significant.
                        my @params;
                        # Note: preserve order of params, some plugins may
                        # consider it significant.
                        my @params;
-                       while ($params =~ /(?:(\w+)=)?(?:"""(.+)"""|"([^"]+)"|(\S+))(?:\s+|$)/sg) {
+                       while ($params =~ /(?:(\w+)=)?(?:"""\n?(.+)"""|"([^"]+)"|(\S+))(?:\s+|$)/sg) {
+                               my $val=(defined $2 ? $2 : (defined $3 ? $3 : $4));
+                               chomp $val;
                                if (defined $1) {
                                if (defined $1) {
-                                       push @params, $1, (defined $2 ? $2 : (defined $3 ? $3 : $4));
+                                       push @params, $1, $val;
                                }
                                else {
                                }
                                else {
-                                       push @params, (defined $2 ? $2 : (defined $3 ? $3 : $4)), '';
+                                       push @params, $val, '';
                                }
                        }
                        return $hooks{preprocess}{$command}{call}->(
                                }
                        }
                        return $hooks{preprocess}{$command}{call}->(
index 2f78f11aa043ae02e4f208c2d738841e61b73fcd..8f3911bd91cee08284b6fdc1dc528ff041cc3414 100644 (file)
@@ -12,7 +12,8 @@ Instead it can use [[Subversion]] (or [[Git]]).
   and thoughts about ikiwiki to [[Discussion]].
 
 [[template id=note text="""
   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! --[[Joey]]
 """]]
 
 * [[Setup]] has a tutorial for setting up ikiwiki, and [[Usage]] documents
 """]]
 
 * [[Setup]] has a tutorial for setting up ikiwiki, and [[Usage]] documents