oops
parent
d772fc6ad2
commit
e589e24fad
|
@ -550,11 +550,11 @@ sub linkify ($$$) { #{{{
|
||||||
$content =~ s{(\\?)$config{wiki_link_regexp}}{
|
$content =~ s{(\\?)$config{wiki_link_regexp}}{
|
||||||
defined $2
|
defined $2
|
||||||
? ( $1
|
? ( $1
|
||||||
? "[[$2|$3".(length $4 ? "#$4" : "")."]]"
|
? "[[$2|$3".($4 ? "#$4" : "")."]]"
|
||||||
: htmllink($lpage, $page, linkpage($3),
|
: htmllink($lpage, $page, linkpage($3),
|
||||||
anchor => $4, linktext => pagetitle($2)))
|
anchor => $4, linktext => pagetitle($2)))
|
||||||
: ( $1
|
: ( $1
|
||||||
? "[[$3".(length $4 ? "#$4" : "")."]]"
|
? "[[$3".($4 ? "#$4" : "")."]]"
|
||||||
: htmllink($lpage, $page, linkpage($3),
|
: htmllink($lpage, $page, linkpage($3),
|
||||||
anchor => $4))
|
anchor => $4))
|
||||||
}eg;
|
}eg;
|
||||||
|
|
Loading…
Reference in New Issue