]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/map.pm
releasing version 2.31.1
[git.ikiwiki.info.git] / IkiWiki / Plugin / map.pm
index 5b6af1f36f6ce0c6cc9605365ed491d123d09efd..581ae5011f8a002190f133f6ce999797bae43b1b 100644 (file)
@@ -37,6 +37,9 @@ sub preprocess (@) { #{{{
                                my @b=split(/\//, $common_prefix);
                                $common_prefix="";
                                while (@a && @b && $a[0] eq $b[0]) {
+                                       if (length $common_prefix) {
+                                               $common_prefix.="/";
+                                       }
                                        $common_prefix.=shift(@a);
                                        shift @b;
                                }