From 034c54155024ccd74792bb8835a3bba99834db99 Mon Sep 17 00:00:00 2001 From: danpros Date: Sun, 25 Feb 2024 12:13:38 +0700 Subject: [PATCH] Missing single

for valid html --- system/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }