diff --git a/system/includes/functions.php b/system/includes/functions.php index f5cdb07..4c39823 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -3638,7 +3638,7 @@ function automatic_toc($content, $id) if (is_null($pos) || $pos > count($exp)){ return $content; } - array_splice($exp, $pos, 0, insert_toc($id)); + array_splice($exp, $pos, 0, insert_toc($id) . '
'); $content = implode('
', $exp); return $content; }