diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wiki.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wiki.php b/include/wiki.php index 67757b0f5..424b2d9a0 100644 --- a/include/wiki.php +++ b/include/wiki.php @@ -498,7 +498,8 @@ function wiki_convert_links($s, $wikiURL) { function wiki_generate_toc($s) { if (strpos($s,'[toc]') !== false) { - $toc_md = wiki_toc($s); + //$toc_md = wiki_toc($s); // Generate Markdown-formatted list prior to HTML render + $toc_md = '<ul id="wiki-toc"></ul>'; // use the available jQuery plugin http://ndabas.github.io/toc/ $s = preg_replace("/\[toc\]/", $toc_md, $s, -1); } return $s; |