diff --git a/app/views/memos/show.html.erb b/app/views/memos/show.html.erb index 5ffcedacc..1252483d2 100644 --- a/app/views/memos/show.html.erb +++ b/app/views/memos/show.html.erb @@ -48,13 +48,14 @@
<%= label_tag l(:field_subject) %>: <%=h @memo.subject %>
- <%= raw @memo.content %> + <%=h sanitize(@memo.content.html_safe) %>

<% if @memo.attachments.any?%> <% options = {:author => true, :deletable => @memo.deleted_attach_able_by?(User.current) } %> <%= render :partial => 'attachments/links', :locals => {:attachments => @memo.attachments, :options => options} %> <% end %>

+
<%= authoring @memo.created_at, @memo.author.name %>
diff --git a/app/views/users/user_fanslist.html.erb b/app/views/users/user_fanslist.html.erb index 3247c67ab..fb1a6d0dc 100644 --- a/app/views/users/user_fanslist.html.erb +++ b/app/views/users/user_fanslist.html.erb @@ -1,51 +1,58 @@ -

<%= l(:label_x_user_fans, :count => User.current.watcher_users(User.current.id).count)%>

+

<%= l(:label_x_user_fans, :count => User.current.watcher_users(User.current.id).count) %>

- <% for user in @user.watcher_users %> - -<% end %> + <% for user in @user.watcher_users %> + + <% end %>
\ No newline at end of file