summaryrefslogtreecommitdiff
path: root/plugins/format.pearwiki.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/format.pearwiki.php')
-rw-r--r--plugins/format.pearwiki.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/format.pearwiki.php b/plugins/format.pearwiki.php
index bb6afed..87bf76f 100644
--- a/plugins/format.pearwiki.php
+++ b/plugins/format.pearwiki.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
* @package Liberty
* @subpackage plugins_format
*/
@@ -52,7 +52,7 @@ function pearwiki_parse_data( &$pData, &$pCommonObject ) {
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.*?\}/", $xhtml ) && @$gLibertySystem->mPlugins['datamaketoc']['is_active'] == 'y' ) {
+ if( preg_match( "/\{maketoc.*?\}/i", $xhtml ) && @$gLibertySystem->mPlugins['datamaketoc']['is_active'] == 'y' ) {
$xhtml= data_maketoc($xhtml);
}
return $xhtml;