summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d5de560)
if ($config{usedirs}) {
$url =~ s!/index.$config{htmlext}$!/!;
}
if ($config{usedirs}) {
$url =~ s!/index.$config{htmlext}$!/!;
}
-
- # Ensure url is not an empty link, and
- # if it's relative, make that explicit to avoid colon confusion.
- if ($url !~ /\//) {
- $url="./$url";
- }
+ $url =~ s!^$!./!; # Browsers don't like empty links...