- if @issue.description.present?
.bottom_box_content
- = markdown @issue.description
+ = preserve do
+ = markdown @issue.description
.issue_notes#notes= render "notes/notes", :tid => @issue.id, :tt => "issue"
- if @milestone.description.present?
.bottom_box_content
- = markdown @milestone.description
+ = preserve do
+ = markdown @milestone.description
:javascript
%strong= link_to "Remove", [@project, note], :confirm => 'Are you sure?', :method => :delete, :remote => true, :class => "cred delete-note btn small"
%div.note-title
- = markdown(note.note)
+ = preserve do
+ = markdown(note.note)
- if note.attachment.url
.right
%div.file
%h3= content.name
.readme
- if content.name =~ /\.(md|markdown)$/i
- = markdown(content.data)
+ = preserve do
+ = markdown(content.data)
- else
= simple_format(content.data)
Edit
%hr
.wiki_content
- = markdown_to_html @wiki.content
+ = preserve do
+ = markdown_to_html @wiki.content
%p.time Last edited by #{@wiki.user.name}, in #{time_ago_in_words @wiki.created_at}
- if can? current_user, :admin_wiki, @project