题库中编程作业的测试集显示未换行

This commit is contained in:
cxt 2017-02-10 17:09:51 +08:00
parent 6ccc53b089
commit 12cb1c3a0f
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@
<% @homework.homework_tests.each_with_index do |test, i| %>
<tr>
<td class="test_td_min"><%=i+1 %></td>
<td><%=test.input %></td>
<td ><%=test.output %></td>
<td><pre style="word-wrap:break-word; white-space:pre-wrap;"><%=test.input %></pre></td>
<td><pre style="word-wrap:break-word; white-space:pre-wrap;"><%=test.output %></pre></td>
</tr>
<% end %>
</tbody>