]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Fix help TOC display
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 29 Jan 2019 13:51:02 +0000 (08:51 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 29 Jan 2019 13:51:02 +0000 (08:51 -0500)
mod/help.php

index 3df280dbd64e0698ccdb1df8f183bea93de5b5a1..cdfedac6ffedfabc26ea8598d5e610d0d50fe08c 100644 (file)
@@ -84,7 +84,7 @@ function help_content(App $a)
                                        $level = intval($level);
                                        if ($level < $lastlevel) {
                                                for ($k = $level; $k < $lastlevel; $k++) {
-                                                       $toc .= "</ul>";
+                                                       $toc .= "</ul></li>";
                                                }
 
                                                for ($k = $level + 1; $k < count($idnum); $k++) {
@@ -93,7 +93,7 @@ function help_content(App $a)
                                        }
 
                                        if ($level > $lastlevel) {
-                                               $toc .= "<ul>";
+                                               $toc .= "<li><ul>";
                                        }
 
                                        $idnum[$level] ++;