取消课程动态中描述显示为最多30个字母或汉字的限制

This commit is contained in:
sw 2014-12-25 17:36:53 +08:00
parent 9545b1da0c
commit f549530744
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
<tr> <tr>
<td colspan="2" width="580px"> <td colspan="2" width="580px">
<p class="info-break"> <p class="info-break">
<%= h(truncate(strip_tags(e.event_description).gsub(/&nbsp;/, ' '), length: 30, omission: '...')) %> <%= e.event_description %>
</p> </p>
</td> </td>
</tr> </tr>