X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eb6114617c219baeeca957d9022f438e981c308e..4016d8e2232e0fa2c26183cfe394c65eb2f13655:/app/views/geocoder/search.rhtml diff --git a/app/views/geocoder/search.rhtml b/app/views/geocoder/search.rhtml index a3674f745..7ffde3194 100644 --- a/app/views/geocoder/search.rhtml +++ b/app/views/geocoder/search.rhtml @@ -5,7 +5,7 @@
No results found
<% else %> <% source[:results].each do |result| %> -<%= link_to_function result[:description], "setPosition(#{result[:lat]}, #{result[:lon]}, #{result[:zoom]})" %>
+<%= result_to_html(result) %>
<% end %> <% end %> <% else %>