Skip to content

Commit

Permalink
Removed unneccessary html_safe
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyken committed Sep 4, 2014
1 parent 47e12f8 commit b286962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/campaigns/_sidebar_show.html.haml
Expand Up @@ -80,7 +80,7 @@

- unless @campaign.background_info.blank?
.caption #{t :background_info}
= auto_link(simple_format @campaign.background_info).html_safe
= auto_link(simple_format @campaign.background_info)

= render "fields/sidebar_show", :asset => @campaign

Expand Down
2 changes: 1 addition & 1 deletion app/views/contacts/_sidebar_show.html.haml
Expand Up @@ -41,7 +41,7 @@

- unless @contact.background_info.blank?
.caption #{t :background_info}
= auto_link(simple_format @contact.background_info).html_safe
= auto_link(simple_format @contact.background_info)

= render "fields/sidebar_show", :asset => @contact

Expand Down

0 comments on commit b286962

Please sign in to comment.