diff --git a/doc/Account-Basics.md b/doc/Account-Basics.md
index da865ad2b5..5e22e8a151 100644
--- a/doc/Account-Basics.md
+++ b/doc/Account-Basics.md
@@ -99,7 +99,7 @@ See Also
* [Profiles](help/Profiles)
-* [Global Directory](help/Making-Friends#1_1)
+* [Global Directory](help/Making-Friends#The+Directories)
* [Groups and Privacy](help/Groups-and-Privacy)
diff --git a/doc/Install.md b/doc/Install.md
index 0634a5eb99..5fe63adb2a 100644
--- a/doc/Install.md
+++ b/doc/Install.md
@@ -12,7 +12,7 @@ This kind of functionality requires a bit more of the host system than the typic
Not every PHP/MySQL hosting provider will be able to support Friendica.
Many will.
-But **please** review the [requirements](#1_2_1) and confirm these with your hosting provider prior to installation.
+But **please** review the [requirements](#Requirements) and confirm these with your hosting provider prior to installation.
## Support
If you encounter installation issues, please let us know via the [helper](http://forum.friendi.ca/profile/helpers) or the [developer](https://forum.friendi.ca/profile/developers) forum or [file an issue](https://github.com/friendica/friendica/issues).
@@ -108,7 +108,7 @@ Create an empty database and note the access details (hostname, username, passwo
Friendica needs the permission to create and delete fields and tables in its own database.
-Please check the [troubleshooting](#1_6) section if running on MySQL 5.7.17 or newer.
+Please check the [troubleshooting](#Troubleshooting) section if running on MySQL 5.7.17 or newer.
### Option A: Run the installer
diff --git a/src/Module/Help.php b/src/Module/Help.php
index 3b3ce58704..58cc95affd 100644
--- a/src/Module/Help.php
+++ b/src/Module/Help.php
@@ -65,10 +65,11 @@ class Help extends BaseModule
$lastLevel = 1;
$idNum = [0, 0, 0, 0, 0, 0, 0];
foreach ($lines as &$line) {
- if (substr($line, 0, 2) == "