mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 03:26:20 +05:30
Missing single <p> for valid html
This commit is contained in:
parent
849249302b
commit
034c541550
1 changed files with 1 additions and 1 deletions
|
|
@ -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) . '<p>');
|
||||
$content = implode('</p>', $exp);
|
||||
return $content;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue