spree/spree — comment on commit 87ca69df76fc11899e7ba0b3a8c2a31ee5a82f9e
File:  line 0
By mikz:

ok I found the issue - i18n returns `ActiveSupport::SafeBuffer`

and if you call `+` on safe buffer it asks if arguement is html_safe. if itsnt it will ecape it

so it is already escaped before it is rendered by raw

ree-1.8.7-2011.03 :001 > t(:editing_product) + " “#{h @product.name}”"
=> "Úprava výrobku &ldquo;Badmintonová raketa B 550&rdquo;"
ree-1.8.7-2011.03 :002 > t(:editing_product) + " “#{h @product.name}”".html_safe
=> "Úprava výrobku “Badmintonová raketa B 550”"
ree-1.8.7-2011.03 :003 > t(:editing_product) + " “#{@product.name}”"
=> "Úprava výrobku &ldquo;Badmintonová raketa B 550&rdquo;"