diff --git a/tracks/app/views/notes/_notes.rhtml b/tracks/app/views/notes/_notes.rhtml index 9d71eec5..2b441e55 100644 --- a/tracks/app/views/notes/_notes.rhtml +++ b/tracks/app/views/notes/_notes.rhtml @@ -2,7 +2,7 @@

<%= link_to("Note #{note.id}", note_path(note), :title => "Show note #{note.id}" ) %>

- <%= sanitize(textilize(note.body.gsub(/((https?:\/\/[^ ]*))/, '\1'))) %> + <%= sanitize(textilize(note.body.gsub(/((https?:\/\/[^ \n\t]*))/, '"\1":\2'))) %>