remove tags

This commit is contained in:
kg 2014-04-10 09:59:30 +08:00
parent e92383940f
commit 9ab5db8ee3
1 changed files with 1 additions and 1 deletions

View File

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