提交 6c7706eb 编写于 作者: N Nihad Abbasov

process notes w/ rdiscount

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册