]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/inline.pm
formatting fixups
[git.ikiwiki.info.git] / IkiWiki / Plugin / inline.pm
index 3d1458081e39e383608aa5fec4ec3563e0a85b27..ebeb231783fbe950fce33f04cac59e01ed655456 100644 (file)
@@ -155,7 +155,7 @@ sub preprocess_inline (@) { #{{{
        
        my $feednum="";
 
        
        my $feednum="";
 
-       my $feedid=join(",", map { "$_=$params{$_}" } sort keys %params);
+       my $feedid=join("\0", map { $_."\0".$params{$_} } sort keys %params);
        if (exists $knownfeeds{$feedid}) {
                $feednum=$knownfeeds{$feedid};
        }
        if (exists $knownfeeds{$feedid}) {
                $feednum=$knownfeeds{$feedid};
        }
@@ -221,7 +221,7 @@ sub preprocess_inline (@) { #{{{
                                }
                                $template->param(pageurl => urlto(bestlink($params{page}, $page), $params{destpage}));
                                $template->param(title => pagetitle(basename($page)));
                                }
                                $template->param(pageurl => urlto(bestlink($params{page}, $page), $params{destpage}));
                                $template->param(title => pagetitle(basename($page)));
-                               $template->param(ctime => displaytime($pagectime{$page}));
+                               $template->param(ctime => displaytime($pagectime{$page}, $params{timeformat}));
        
                                if ($actions) {
                                        my $file = $pagesources{$page};
        
                                if ($actions) {
                                        my $file = $pagesources{$page};