support newlines in comments

master
Coleman 2008-11-06 18:32:14 -06:00
parent 98044f7e46
commit 5abac16a54
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<abbr title="<%= comment.created_at %>">said <%= time_lost_in_words comment.page.created_at, comment.created_at %> later:</abbr> <abbr title="<%= comment.created_at %>">said <%= time_lost_in_words comment.page.created_at, comment.created_at %> later:</abbr>
</div> </div>
<div class="content"> <div class="content">
<%= h(comment.comment) %> <%= nl2br(h(comment.comment)) %>
</div> </div>
</li> </li>
<% end -%> <% end -%>