diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-14 00:11:19 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-14 00:11:19 +0000 |
commit | 6fc66f83deba6df8abdf4bc117f8da7efbd7cbc1 (patch) | |
tree | b65261ec25063bea8fd8e8b4793917fea65768de /IkiWiki/Plugin/toggle.pm | |
parent | 433832b020c6464938992293c15cc8cdcfbd18f7 (diff) | |
download | ikiwiki-6fc66f83deba6df8abdf4bc117f8da7efbd7cbc1.tar ikiwiki-6fc66f83deba6df8abdf4bc117f8da7efbd7cbc1.tar.gz |
* Fix the template, toggle, and conditional plugins to filter text before
preprocessing it.
* Fix smiley plugin to support smileys at the very beginning or end of
the content.
Diffstat (limited to 'IkiWiki/Plugin/toggle.pm')
-rw-r--r-- | IkiWiki/Plugin/toggle.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/toggle.pm b/IkiWiki/Plugin/toggle.pm index c68e30892..7318731c5 100644 --- a/IkiWiki/Plugin/toggle.pm +++ b/IkiWiki/Plugin/toggle.pm @@ -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}); |