]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/toggle.pm
web commit by JoshTriplett: [[bugs/wiki_links_still_processed_inside_code_blocks]]
[git.ikiwiki.info.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});