Don't link headers
This commit is contained in:
parent
3deb7b67af
commit
d145442c06
|
@ -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]]
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue