]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/more.pm
response
[git.ikiwiki.info.git] / IkiWiki / Plugin / more.pm
index 77d5fb0772846dde323fd78a809f936365224fa5..80e339a1be7c876e05820ba2da3e444d97770345 100644 (file)
@@ -17,6 +17,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => undef,
                plugin => {
                        safe => 1,
                        rebuild => undef,
+                       section => "widget",
                },
 }
 
                },
 }
 
@@ -32,9 +33,9 @@ sub preprocess (@) {
                                anchor => "more");
        }
        else {
                                anchor => "more");
        }
        else {
-               $params{text}=IkiWiki::preprocess($params{page}, $params{destpage},
-                       IkiWiki::filter($params{page}, $params{destpage}, $params{text}));
-               return "<a name=\"more\"></a>\n\n".$params{text};
+               return "<a name=\"more\"></a>\n\n".
+                       IkiWiki::preprocess($params{page}, $params{destpage},
+                               $params{text});
        }
 }
 
        }
 }