Skip to content

Commit

Permalink
Merge pull request #44705 from ghiculescu/patch-8
Browse files Browse the repository at this point in the history
Docs: clarify where `t` works for `_html` suffixes [ci skip]
  • Loading branch information
eileencodes committed Mar 16, 2022
2 parents da91d1c + ceeee1d commit 989a04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ you can safely pass the username as set by the user:

Safe strings on the other hand are interpolated verbatim.

NOTE: Automatic conversion to HTML safe translate text is only available from the `translate` view helper method.
NOTE: Automatic conversion to HTML safe translate text is only available from the `translate` (or `t`) helper method. This works in views and controllers.

![i18n demo html safe](images/i18n/demo_html_safe.png)

Expand Down

0 comments on commit 989a04d

Please sign in to comment.