process notes w/ rdiscount
This commit is contained in:
parent
e92669fb2d
commit
6c7706eb17
|
@ -2,7 +2,7 @@
|
|||
%div.note_author
|
||||
= image_tag gravatar_icon(note.author.email), :class => "left", :width => 40, :style => "padding-right:5px;"
|
||||
%div.note_content.left
|
||||
= simple_format(html_escape(note.note))
|
||||
= raw RDiscount.new(note.note, :smart, :filter_html).to_html
|
||||
- if note.attachment.url
|
||||
Attachment:
|
||||
= link_to note.attachment_identifier, note.attachment.url, :target => "_blank"
|
||||
|
|
Loading…
Reference in a new issue