#898 引用回帖不转义的问题
This commit is contained in:
parent
64f6175f22
commit
7b3468718f
|
@ -161,7 +161,8 @@
|
||||||
|
|
||||||
<td class="comments">
|
<td class="comments">
|
||||||
<div class="wiki">
|
<div class="wiki">
|
||||||
<%= textilizable message, :content, :attachments => message.attachments %>
|
<%#= textilizable message,:content,:attachments => message.attachments %>
|
||||||
|
<%= message.content.html_safe %>
|
||||||
</div>
|
</div>
|
||||||
<%= link_to_attachments message, :author => false %> </td>
|
<%= link_to_attachments message, :author => false %> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<% if @project %>
|
<% if @project %>
|
||||||
<%= render :partial => 'project_show', locals: {project: @project} %>
|
<%= render :partial => 'project_show', locals: {project: @project} %>
|
||||||
<% elsif @course %>
|
<% elsif @course %>
|
||||||
<%= render :partial => 'course_show', locals: {course: @course} %>
|
<%= render :partial => 'course_show', locals: {course: @course} %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue