X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0c8ad2f86edefed72052b402742cadedb0d674d9..d492628f3eb4f540438f9aab8b3c02e12b87d243:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 740646efb..31fd00f01 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -16,8 +16,8 @@
<% if @note.comments.find { |comment| comment.author.nil? } -%> -
- <%= t "javascripts.notes.show.anonymous_warning" %> +
+

<%= t "javascripts.notes.show.anonymous_warning" %>

<% end -%> @@ -39,14 +39,14 @@
<% end %> -
+

<%= t "browse.note.description" %>

-

<%= h(@note.comments.first.body) %>

+

<%= h(@note.comments.first.body.to_html) %>

<%= t "browse.node_details.coordinates" %>

-

<%= link_to ("#{number_with_delimiter(@note.lat)}, #{number_with_delimiter(@note.lon)}".html_safe), {:controller => 'site', :action => 'index', :lat => h(@note.lat), :lon => h(@note.lon), :zoom => "18"} %>

+

<%= link_to ("#{number_with_delimiter(@note.lat)}, #{number_with_delimiter(@note.lon)}".html_safe), {:controller => 'site', :action => 'index', :lat => h(@note.lat), :lon => h(@note.lon), :zoom => "18"} %>

@@ -55,7 +55,7 @@

<%= t "browse.note.comments" %>