Loading...
 
Skip to main content

Development


space bevor titlename

In tikilib.php on line 5152 the titletags are made. I dry to make a anchor with the name of the title. This works but unvortunality the command make the space

$line = $anchor . "<h$hdrlevel>" . substr($line, $hdrlevel + $addremove). "</h$hdrlevel>" . $aclose;

does somenone know how to avoid this ?

thanks nos

> In tikilib.php on line 5152 the titletags are made. I dry to make a anchor with the name of the title. This works but unvortunality the command make the space
>
$line = $anchor . "" . trim$line, $hdrlevel + $addremove. "" . $aclose;

A Anchor is made like this:
$line = $anchor . "" . "" . trim$line, $hdrlevel + $addremove. "" . $aclose;

I dont no its a good Idea, Problem: What happens if there are two Titles with the same name?

The mainidea is, that people with no clue about html know: Iv i want to link to a spezifc title in a large page I have to take the url and add #Titlename to the url.

Would also be nice if this would work with wiklinks.

Does someone have some bether ideas about the hole ting?