X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eb6114617c219baeeca957d9022f438e981c308e..2e2189ecb9e60b6aefda6919a177932372339607:/app/views/geocoder/search.rhtml?ds=inline 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 %>