spree/spree — pull request #852 by mikz (2011-12-07 21:02:02+00:00)
Title: fixed issue when content of link to cart was escaped

problem was following: link_to_cart calls order_currency
(which is properly marked as html_safe), but concatenates it
with another string, resulting to html unsafe string

fix is following: if no argument is passed to link_to_cart
use value from i18n, otherwise escape passed value
then create content of link and mark it as html safe