X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/78e6578daaa8171c86c67d1046095fcaa1f6e919..e0c9a8c6d55c4a3c10d105c47b3f2dce99464e88:/app/views/user/account.rhtml diff --git a/app/views/user/account.rhtml b/app/views/user/account.rhtml index 53c355316..851815506 100644 --- a/app/views/user/account.rhtml +++ b/app/views/user/account.rhtml @@ -34,9 +34,9 @@ <% if @user.home_lat.nil? or @user.home_lon.nil? %> - <% lon = params['lon'] || '-0.1' %> - <% lat = params['lat'] || '51.5' %> - <% zoom = params['zoom'] || '4' %> + <% lon = h(params['lon'] || '-0.1') %> + <% lat = h(params['lat'] || '51.5') %> + <% zoom = h(params['zoom'] || '4') %> <% else %> <% marker = true %> <% mlon = @user.home_lon %> @@ -47,6 +47,7 @@ <% end %> + <%= javascript_include_tag 'map.js' %>