From 93a4f0bc76e844121f9d581e58dfa88fd417138a Mon Sep 17 00:00:00 2001 From: cxt Date: Fri, 2 Dec 2016 20:17:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=AE=E5=8A=A9=E4=B8=AD=E5=BF=83=E7=9A=84?= =?UTF-8?q?=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/memos/_memo_all_replies.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %>