From f579b2af55f33b663b2a81c732f3ff76f166dff6 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Mon, 28 Dec 2015 10:21:34 +0100 Subject: [PATCH] Fix TOC links href, no TOC in home --- doc/api.md | 1 + mod/help.php | 49 ++++++++++++++++++++++++++----------------------- 2 files changed, 27 insertions(+), 23 deletions(-) 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