Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of raw for i18n strings #38

Closed
gravitystorm opened this issue Dec 20, 2019 · 1 comment
Closed

Remove use of raw for i18n strings #38

gravitystorm opened this issue Dec 20, 2019 · 1 comment

Comments

@gravitystorm
Copy link
Owner

For hysterical raisins we use raw extensively with translations, particularly for showing links. The best way to do this is with _html translation key names, as explained in the docs

https://guides.rubyonrails.org/i18n.html#using-safe-html-translations

I've started this on the "no raw" branch

@gravitystorm
Copy link
Owner Author

Fixed in openstreetmap#2494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant