Linkify message:// URLs in notes. Those links are used by Mail.app on

Mac OS X to link to a mail message by message id.
This commit is contained in:
Patrice Neff 2010-01-10 02:47:54 +08:00 committed by Eric Allen
parent e844b5aa5b
commit 5299490c83
5 changed files with 69 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<%= link_to(image_tag( 'blank.png', :width=>'16', :height=>'16', :border=>'0' ), "#", {:class => 'show_notes', :title => 'Show notes'}) %>
<div class="todo_notes" id="<%= dom_id(item, 'notes') %>" style="display:none">
<%= sanitize(markdown( auto_link(item.notes)) ) %>
<%= format_note(item.notes) %>
</div>