Render notes using RedCloth without formatize

Removes the outdated bluecloth dependency
This commit is contained in:
Dan Rice 2013-03-12 18:30:38 +02:00
parent 053e3fc8d6
commit dc311221f1
10 changed files with 16 additions and 21 deletions

View file

@ -1,5 +1,5 @@
<div class="mobile_note">
<%= sanitize(textilize_without_paragraph(note.body)) %>
<%= rendered_note(note) %>
</div>
<div class="mobile_note_info">
<br/>

View file

@ -1,5 +1,5 @@
<% note = note_details -%>
<div class="note_boby"><%= Tracks::Utils.render_text(note.body) %></div>
<div class="note_body"><%= rendered_note(note) %></div>
<div class="note_footer">

View file

@ -1,3 +1,5 @@
<% note = notes_summary -%>
<div class="note"><%= link_to( truncated_note(note), note_path(note, :format => 'm')) %></div>
<div class="note_wrapper">
<div class="note"><%= link_to( truncated_note(note), note_path(note, :format => 'm')) %></div>
</div>
<% note = nil -%>