From cf2c12d98b030ee5f41ae45812557b3f88d90344 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Wed, 4 Jan 2012 12:03:15 -0800 Subject: [PATCH] converting to string makes this not an htmlsafe buffer --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index ed6074c6e..6d30d2632 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -73,6 +73,6 @@ module ApplicationHelper end def popover_with_close_html(without_close_html) - without_close_html + "#{link_to(image_tag('deletelabel.png'), "#", :class => 'close')}" + without_close_html + link_to(image_tag('deletelabel.png'), "#", :class => 'close') end end