From: Joey Hess Date: Tue, 13 Mar 2012 21:49:41 +0000 (-0400) Subject: make icon absolute X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9fad75fd53c75b6c9f7729b6c7e6eccbc3cff39d;p=ikiwiki.git make icon absolute it is put into kml files, etc --- diff --git a/IkiWiki/Plugin/osm.pm b/IkiWiki/Plugin/osm.pm index 91f23ba1f..be499495c 100644 --- a/IkiWiki/Plugin/osm.pm +++ b/IkiWiki/Plugin/osm.pm @@ -151,7 +151,7 @@ sub process_waypoint { last; } } - $icon = urlto($icon, $dest); + $icon = urlto($icon, $dest, 1); $tag = '' unless $tag; if ($page eq $dest) { if (!defined($config{'osm_format'}) || !$config{'osm_format'}) {