Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a patch for the osm plugin
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
osm.pm
diff --git
a/IkiWiki/Plugin/osm.pm
b/IkiWiki/Plugin/osm.pm
index a7baa5f2b968ebb0464a787be7371a26a2f98423..c9650d014aa1348f9c83efb77e87c76f20620452 100644
(file)
--- a/
IkiWiki/Plugin/osm.pm
+++ b/
IkiWiki/Plugin/osm.pm
@@
-192,6
+192,7
@@
sub process_waypoint {
}
}
$icon = urlto($icon, $dest, 1);
+ $icon =~ s!/*$!!; # hack - urlto shouldn't be appending a slash in the first place
$tag = '' unless $tag;
register_rendered_files($map, $page, $dest);
$pagestate{$page}{'osm'}{$map}{'waypoints'}{$name} = {