td.browse_comments {
padding: 0px;
-}
-td.browse_comments table {
- border-collapse: collapse;
-}
+ table {
+ border-collapse: collapse;
-td.browse_comments table td {
- padding-bottom: 10px;
-}
+ td {
+ padding-bottom: 10px;
-td.browse_comments table td span.by {
- font-size: small;
- color: #999999;
+ p {
+ margin-top: 0px;
+ margin-bottom: 0px;
+ }
+
+ span.by {
+ font-size: small;
+ color: #999999;
+ }
+ }
+ }
}
#browse_map {
<% @note.comments[1..-1].each do |comment| %>
<tr>
<td>
- <%= h(comment.body) %>
- <br />
+ <%= comment.body.to_html %>
<span class="by"><%= t "browse.note.at_by_html", :when => friendly_date(comment.created_at), :user => note_author(comment) %></span>
</td>
</tr>