diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-06-09 14:20:39 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-06-09 14:20:39 +0000 |
| commit | e445cadab331d09db1464b053ee78d6254865cf1 (patch) | |
| tree | 7835374ae9b65767bfcc7d461cb8623fdc3ab513 /plugins/format.tikiwiki.php | |
| parent | 46d0c9f8f511f33b216f7a2b6767e7e753a5d2ce (diff) | |
| download | liberty-e445cadab331d09db1464b053ee78d6254865cf1.tar.gz liberty-e445cadab331d09db1464b053ee78d6254865cf1.tar.bz2 liberty-e445cadab331d09db1464b053ee78d6254865cf1.zip | |
convert maketoc into a post parser filter - maketoc will now work on any format plugin
Diffstat (limited to 'plugins/format.tikiwiki.php')
| -rw-r--r-- | plugins/format.tikiwiki.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/format.tikiwiki.php b/plugins/format.tikiwiki.php index 992ddd8..9b63b96 100644 --- a/plugins/format.tikiwiki.php +++ b/plugins/format.tikiwiki.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.96 $ + * @version $Revision: 1.97 $ * @package liberty */ global $gLibertySystem; @@ -1527,11 +1527,6 @@ class TikiWikiParser extends BitBase { $data = str_replace( "<!-- bitremovebr --><br />", "", $data ); global $gLibertySystem; - // create a table of contents for this page - // this function is called manually, since it processes the HTML code - if( preg_match( "/\{maketoc.*?\}/i", $data ) && $gLibertySystem->isPluginActive( 'datamaketoc' )) { - $data = data_maketoc($data); - } return $data; } |
