From c4f95f0486e255472e0a94af64ad96410e55e1cd Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Tue, 7 Jun 2016 18:49:39 -0300 Subject: [PATCH] profile_info: fix html_safe issue --- app/views/blocks/profile_info.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/blocks/profile_info.html.erb b/app/views/blocks/profile_info.html.erb index 895f3d0..6f73b24 100644 --- a/app/views/blocks/profile_info.html.erb +++ b/app/views/blocks/profile_info.html.erb @@ -30,7 +30,7 @@ [ [ profile.city, 'locality' ], [ profile.state, 'region' ], [ profile.country_name, 'country-name' ] - ].map{ |s,c| s =~ /^\s*$/ ? nil : content_tag( 'span', s, :class => c ) }.compact.join ' - ' + ].map{ |s,c| s =~ /^\s*$/ ? nil : content_tag( 'span', s, :class => c ) }.compact.safe_join ' - ' %> <% end %> -- libgit2 0.21.2