remove redundant link munge
This is not needed now that tagpage returns a page name starting with a slash. (Also fixes a minor bug that the edit links started with double slashes due to the hack.)master
parent
6049fac46e
commit
53752bcb5d
|
@ -56,13 +56,7 @@ sub taglink ($$$;@) { #{{{
|
||||||
my $tag=shift;
|
my $tag=shift;
|
||||||
my %opts=@_;
|
my %opts=@_;
|
||||||
|
|
||||||
my $link=tagpage($tag);
|
return htmllink($page, $destpage, tagpage($tag), %opts);
|
||||||
|
|
||||||
# Force tag creation links to create the tag under /tagbase,
|
|
||||||
# if there is a tagbase and this tag used it.
|
|
||||||
$link="/".$link if $tag ne $link;
|
|
||||||
|
|
||||||
return htmllink($page, $destpage, $link, %opts);
|
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
||||||
sub preprocess_tag (@) { #{{{
|
sub preprocess_tag (@) { #{{{
|
||||||
|
|
Loading…
Reference in New Issue