return $page;
}
+sub urlabs ($$) {
+ my $url=shift;
+ my $urlbase=shift;
+
+ eval q{use URI};
+ URI->new_abs($url, $urlbase)->as_string;
+}
+
sub abs2rel ($$) {
# Work around very innefficient behavior in File::Spec if abs2rel
# is passed two relative paths. It's much faster if paths are
title => $title,
wikiname => $config{wikiname},
content => $content,
- baseurl => $config{url},
+ baseurl => $config{url}.'/',
html5 => $config{html5},
%params,
);