]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/toggle.pm
remove unnecessary and troublesome filter calls
[ikiwiki.git] / IkiWiki / Plugin / toggle.pm
index 3319421d923d56c3489b7374edb912be7493027b..20967d3fd79e85fb5f0e677b0a7d76eb6e7ac38f 100644 (file)
@@ -50,8 +50,7 @@ sub preprocess_toggleable (@) {
 
        # Preprocess the text to expand any preprocessor directives
        # embedded inside it.
-       $params{text}=IkiWiki::preprocess($params{page}, $params{destpage}, 
-               IkiWiki::filter($params{page}, $params{destpage}, $params{text}));
+       $params{text}=IkiWiki::preprocess($params{page}, $params{destpage}, $params{text});
        
        my $id=genid($params{page}, $params{id});
        my $class=(lc($params{open}) ne "yes") ? "toggleable" : "toggleable-open";