Skip to content
Browse files

Ensure that display none style is html_safe.

Fixes #1898
  • Loading branch information...
1 parent 8fbf97c commit e377f51494da2fa24cf409e5588d53e11720e015 @parndt parndt committed Aug 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/views/refinery/admin/_image_picker.html.erb
View
2 core/app/views/refinery/admin/_image_picker.html.erb
@@ -21,7 +21,7 @@
<% else -%>
<img class="current_picked_image" src="" alt="" style='display: none' />
<% end -%>
- <span class='no_picked_image_selected nothing_selected' <%= "style='display: none;'" if image.present? %>>
+ <span class='no_picked_image_selected nothing_selected'<%= " style='display: none;'".html_safe if image.present? %>>
<%= t('.none_selected') %>
</span>
</a>

0 comments on commit e377f51

Please sign in to comment.
Something went wrong with that request. Please try again.