diff --git a/app/views/memos/_memo_all_replies.html.erb b/app/views/memos/_memo_all_replies.html.erb index 05ec1c1df..c30b1629a 100644 --- a/app/views/memos/_memo_all_replies.html.erb +++ b/app/views/memos/_memo_all_replies.html.erb @@ -31,7 +31,7 @@ <%= render :partial => 'users/message_contents', :locals => {:comment => reply, :type => 'Memo', :user_activity_id => @memo.id}%>
-

<%= reply.content.gsub(/script/, "script ").html_safe %>

+

<%= reply.content.gsub(/\/script/, "script").gsub(/script/, " script").html_safe %>