-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Support html_safe translation #310
Labels
enhancement
New feature or request
Comments
This would be a great addition. 👍 |
Wonder if we could just include this module and use this without anything custom. 🤔 |
I tried quickly and it doesn't seem to work "as is". |
But can't we include |
I don't think so since this is not in views. Tried it too, but need to look into it a bit further. |
excid3
added a commit
that referenced
this issue
Oct 12, 2023
excid3
added a commit
that referenced
this issue
Oct 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dcaf132 added a
translate
helper, but it doesn't support keys (such asmessage_html
) being automatically marked as HTML-safe. I could be a nice addition to simplify adding links to the notification message, for instance.Relevant: https://github.com/rails/rails/blob/main/activesupport/lib/active_support/html_safe_translation.rb
The text was updated successfully, but these errors were encountered: