You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
My issue is with front-end output of currencies with non-blank spaces.
They appear with the "%&bsp" escaped in the browser due to JSON encoding issue and/or javascript manipulation issue.
I have try to fix it in #37, but it produces invalid JSON
Some currencies requires spacing like "10,00 $ CAD", but you don't want line breaks, so i18n number_to_currency format looks like "10,00%nbsp;$%nbsp;CA".
My issue is with front-end output of currencies with non-blank spaces.
They appear with the "%&bsp" escaped in the browser due to JSON encoding issue and/or javascript manipulation issue.
I have try to fix it in #37, but it produces invalid JSON
Some currencies requires spacing like "10,00 $ CAD", but you don't want line breaks, so i18n number_to_currency format looks like "10,00%nbsp;$%nbsp;CA".
Links :
http://jfire.io/blog/2012/04/30/how-to-securely-bootstrap-json-in-a-rails-view/
The text was updated successfully, but these errors were encountered: