From: Joey Hess Date: Sun, 18 Mar 2012 21:48:09 +0000 (-0400) Subject: fix waypoint hrefs X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/commitdiff_plain/b2471aa729388243e598d389044d14fe86d5a7d5 fix waypoint hrefs --- diff --git a/IkiWiki/Plugin/osm.pm b/IkiWiki/Plugin/osm.pm index ef6bc5b11..511fe3c9b 100644 --- a/IkiWiki/Plugin/osm.pm +++ b/IkiWiki/Plugin/osm.pm @@ -191,10 +191,11 @@ sub process_waypoint { tag => $tag, lat => $lat, lon => $lon, - # how to link back to the page from the map, not to be + # How to link back to the page from the map, not to be # confused with the URL of the map itself sent to the - # embeded map below - href => urlto($page,$map), + # embeded map below. Note: used in generated KML etc file, + # so must be absolute. + href => urlto($page), }; my $output = ''; if (defined($params{'embed'})) {