Commit 6c7706eb authored by Nihad Abbasov's avatar Nihad Abbasov

process notes w/ rdiscount

parent e92669fb
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment