Commit 6c7706eb17cff08ba0c3cccc3ebcfc969ae0f6e3

Authored by Nihad Abbasov
1 parent e92669fb

process notes w/ rdiscount

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/notes/_show.html.haml
... ... @@ -2,7 +2,7 @@
2 2 %div.note_author
3 3 = image_tag gravatar_icon(note.author.email), :class => "left", :width => 40, :style => "padding-right:5px;"
4 4 %div.note_content.left
5   - = simple_format(html_escape(note.note))
  5 + = raw RDiscount.new(note.note, :smart, :filter_html).to_html
6 6 - if note.attachment.url
7 7 Attachment:
8 8 = link_to note.attachment_identifier, note.attachment.url, :target => "_blank"
... ...