Merge branch 'xss-bug' into 'develop'

FIX bug

解决冲突bug

See merge request !191
This commit is contained in:
陈晓婷 2019-10-24 15:07:16 +08:00
commit 5b5c2bb0df
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
<div class="homepagePostReplyContent break_word list_style upload_img table_maxWidth" id="reply_content_<%= comment.id %>">
<% if comment.class == Journal %>
<% if comment.details.any? %>
<% details_to_strings(sanitize comment.details).each do |string| %>
<% details_to_strings(comment.details).each do |string| %>
<p><%= sanitize string %></p>
<% end %>
<% end %>