support newlines in comments
parent
98044f7e46
commit
5abac16a54
|
@ -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 -%>
|
||||||
|
|
Reference in New Issue