From: fabrixxm Date: Mon, 28 Dec 2015 09:21:34 +0000 (+0100) Subject: Fix TOC links href, no TOC in home X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f579b2af55f33b663b2a81c732f3ff76f166dff6;p=friendica.git Fix TOC links href, no TOC in home --- diff --git a/doc/api.md b/doc/api.md index ef8c7d4b4d..48b4f6e63c 100644 --- a/doc/api.md +++ b/doc/api.md @@ -269,6 +269,7 @@ xml ``` +--- ### friendica/photos/list Returns a list of all photo resources of the logged in user. diff --git a/mod/help.php b/mod/help.php index 5646f1ce10..5465d3e900 100644 --- a/mod/help.php +++ b/mod/help.php @@ -59,33 +59,36 @@ function help_content(&$a) { $html = Markdown($text); - // create TOC - $lines = explode("\n", $html); - $toc="

TOC