* Add the outline in wiki.

This commit is contained in:
hufangzhou
2021-07-29 15:17:03 +08:00
parent 885d0f5c85
commit fab0581b52
+1 -1
View File
@@ -1035,7 +1035,7 @@ class doc extends control
}
}
if(isset($doc) and $doc->type == 'text')
if(isset($doc) and ($doc->type == 'text' || $doc->type == 'article'))
{
/* Split content into an array. */
$content = explode("\n", $doc->content);