Don't link headers

This commit is contained in:
speedie 2023-07-02 01:47:17 +02:00
parent 3deb7b67af
commit d145442c06
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# Basics
##### Basics
- [[Home]]
- [[Getting Started]]
@ -7,7 +7,7 @@
- [[User scripts]]
- [[User themes]]
## Hacker
##### Hacker
- [[Scripting with spmenu]]
- [[Functions in spmenu_run]]

View file

@ -184,8 +184,10 @@ function toHTML($inText) {
$prefix = "<h".$matches[1][$i].">";
$caption = $matches[2][$i];
$suffix = substr_replace($prefix, "/", 1, 0);
/*
$outHTML = str_replace("$prefix$caption$suffix",
"$prefix<a id=\"".toHTMLID($caption)."\">$caption</a>$suffix", $outHTML);
*/
}
return $outHTML;