diff options
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 441c4cc5c..33017c011 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -575,7 +575,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) { if (strpos($Text,'[h6]') !== false) { $Text = preg_replace("(\[h6\](.*?)\[\/h6\])ism",'<h6>$1</h6>',$Text); } - // Check for h6 + // Check for table of content if (strpos($Text,'[toc]') !== false) { $Text = preg_replace("/\[toc\]/ism",'<ul id="toc"></ul>',$Text); } |