summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2011-10-28 00:57:10 +0500
committerNihad Abbasov <narkoz.2008@gmail.com>2011-10-28 00:57:10 +0500
commit6c7706eb17cff08ba0c3cccc3ebcfc969ae0f6e3 (patch)
tree9a83df815b70ac5860436c557e8118089dff863c
parente92669fb2d60e4bb331e67d9bfd17a5266152a65 (diff)
downloadgitlab-ce-6c7706eb17cff08ba0c3cccc3ebcfc969ae0f6e3.tar.gz
process notes w/ rdiscount
-rw-r--r--app/views/notes/_show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notes/_show.html.haml b/app/views/notes/_show.html.haml
index ee9f9ffaa4b..1907e9cc0af 100644
--- a/app/views/notes/_show.html.haml
+++ b/app/views/notes/_show.html.haml
@@ -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"