i18n-inflector
i18n-inflector copied to clipboard
Problem with char @
There is a problem with the gem when you retrieve some text from a database that contains the char "@" and you have some code after that uses @{f:whatever|whenever}.
For example:
body:
%{discount_details}
Ya hemos informado a tus @{f:amigas|amigos} del plan
discount_details: |
descuento: %{coupon_discount} (%{coupon_description})
If coupon_description value is "Gracias amig@s míos" the output of body will be:
Gracias amigamigas del plan
when it should be Gracias amig@s míos Ya hemos informado a tus amigos del plan
I fixed my problem with a subsitution from @ to @ but its just a quickfix. Would be perfect if you could fix it the right way. Thanks in advance