]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/sidebar.pm
git: write proposed attachment to temp file without going via system()
[git.ikiwiki.info.git] / IkiWiki / Plugin / sidebar.pm
index 0350f2b71d7fc20695c169daa4ef967e591b22fe..c1146b7b4394c7203f452ef36606c5a51242ea14 100644 (file)
@@ -22,7 +22,7 @@ sub getsetup () {
                },
                global_sidebars => {
                        type => "boolean",
                },
                global_sidebars => {
                        type => "boolean",
-                       examples => 1,
+                       example => 1,
                        description => "show sidebar page on all pages?",
                        safe => 1,
                        rebuild => 1,
                        description => "show sidebar page on all pages?",
                        safe => 1,
                        rebuild => 1,
@@ -47,8 +47,7 @@ sub preprocess (@) {
                $pagesidebar{$page}=
                        IkiWiki::htmlize($page, $page, $type,
                        IkiWiki::linkify($page, $page,
                $pagesidebar{$page}=
                        IkiWiki::htmlize($page, $page, $type,
                        IkiWiki::linkify($page, $page,
-                       IkiWiki::preprocess($page, $page,
-                       IkiWiki::filter($page, $page, $params{content}))));
+                       IkiWiki::preprocess($page, $page, $params{content})));
        }
 
        return "";
        }
 
        return "";