From 4b6cda07681e9e3de02c103996e5061540ed8a24 Mon Sep 17 00:00:00 2001 From: lrbalt Date: Fri, 13 Jun 2008 06:34:32 +0000 Subject: [PATCH] applied patch from Eric from #732 git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@879 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/app/views/notes/_notes.rhtml | 2 +- tracks/app/views/todos/_toggle_notes.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'))) %>