From 93bdf1e91e80027ac4a7f80a2f40b45fa37e1d62 Mon Sep 17 00:00:00 2001 From: Dan Hansen <mokker1234@gmail.com> Date: Thu, 10 Mar 2011 18:01:08 -0600 Subject: [PATCH] add space before link --- app/helpers/application_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 3a85121245..1fd6d13464 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -215,7 +215,7 @@ module ApplicationHelper else title = I18n.t 'application.helper.video_title.unknown' end - '<a class="video-link" data-host="youtube.com" data-video-id="' + video_id + '" href="'+ match_data[0].strip + '">Youtube: ' + title + '</a>' + ' <a class="video-link" data-host="youtube.com" data-video-id="' + video_id + '" href="'+ match_data[0].strip + '">Youtube: ' + title + '</a>' end return processed_message end @@ -262,7 +262,7 @@ module ApplicationHelper else title = I18n.t 'application.helper.video_title.unknown' end - '<a class="video-link" data-host="vimeo.com" data-video-id="' + video_id + '" href="' + match_data[0] + '">Vimeo: ' + title + '</a>' + ' <a class="video-link" data-host="vimeo.com" data-video-id="' + video_id + '" href="' + match_data[0] + '">Vimeo: ' + title + '</a>' end return processed_message end -- GitLab