作业描述出现html

This commit is contained in:
cxt 2016-09-23 17:30:11 +08:00
parent 2e58a219e4
commit 4831aa02e6
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
<div class="">
<div class="homeworkDetail upload_img break_word list_style max_h54" id="homeworkDetail">
<div id="homework_description">
<%= homework.description %>
<%= homework.description.html_safe %>
</div>
</div>
<% if is_pro %>