]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/toggle.pm
add postsparkline plugin, providing sparkliney stats goodness for blog
[ikiwiki.git] / IkiWiki / Plugin / toggle.pm
index c68e308925860f3510fb04010f617923b16c2997..7318731c54808c01ee73ec4b8b660708bb8a066a 100644 (file)
@@ -88,7 +88,8 @@ sub preprocess_toggleable (@) { #{{{
 
        # Preprocess the text to expand any preprocessor directives
        # embedded inside it.
-       $params{text}=IkiWiki::preprocess($params{page}, $params{destpage}, $params{text});
+       $params{text}=IkiWiki::preprocess($params{page}, $params{destpage}, 
+               IkiWiki::filter($params{page}, $params{text}));
        
        my $id=genid($params{page}, $params{id});