作品详情打不开

This commit is contained in:
cxt 2016-03-29 18:22:41 +08:00
parent 88a4b8ce6c
commit 69373468ae
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@
<span class="w60 c_red">测试错误!</span>
<% end %>
<span class="w60">您的输出:</span>
<span class="width120"><pre style="white-space: pre-wrap; margin-right: 15px;"><%=x["result"]%> </pre></span>
<span class="width120"><pre style="white-space: pre-wrap; margin-right: 15px;"><%=x["result"].force_encoding("UTF-8")%> </pre></span>
<span class="w60">正确输出:</span>
<span class="width120"><pre style="white-space: pre-wrap; margin-right: 15px;"><%=x["output"]%></pre></span>