Commit c4f95f0486e255472e0a94af64ad96410e55e1cd

Authored by Braulio Bhavamitra
1 parent 4ed8d8c3

profile_info: fix html_safe issue

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/blocks/profile_info.html.erb
... ... @@ -30,7 +30,7 @@
30 30 [ [ profile.city, 'locality' ],
31 31 [ profile.state, 'region' ],
32 32 [ profile.country_name, 'country-name' ]
33   - ].map{ |s,c| s =~ /^\s*$/ ? nil : content_tag( 'span', s, :class => c ) }.compact.join ' - '
  33 + ].map{ |s,c| s =~ /^\s*$/ ? nil : content_tag( 'span', s, :class => c ) }.compact.safe_join ' - '
34 34 %>
35 35 </div>
36 36 <% end %>
... ...