X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cacf1879c3bbae1fac645b53be6abf9ee139d686..97cb1fd7fa2916974538fde2a6ea311a3f793989:/app/views/diary_entry/list.rhtml
diff --git a/app/views/diary_entry/list.rhtml b/app/views/diary_entry/list.rhtml
index 7d592d87e..e648e46f2 100644
--- a/app/views/diary_entry/list.rhtml
+++ b/app/views/diary_entry/list.rhtml
@@ -1,8 +1,9 @@
-
<%= @title %>
+<%= h(@title) %>
-<% if @this_user.image %>
+<% if @this_user && @this_user.image %>
<%= image_tag url_for_file_column(@this_user, "image") %>
<% end %>
+
<% if @this_user %>
@@ -27,5 +28,5 @@
-<%= link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), :action => 'rss') %>
-<%= auto_discovery_link_tag(:atom, :action => 'rss') %>
+<%= rss_link_to :action => 'rss' %>
+<%= auto_discovery_link_tag :atom, :action => 'rss' %>