提交 cd67d7ea 编写于 作者: C Christian Ress 提交者: Carlos Antonio da Silva

Added missing closing brace in sample code for safe HTML translations

Closes #19321. [ci skip]
上级 cf5ec92a
......@@ -707,7 +707,7 @@ you can safely pass the username as set by the user:
```erb
<%# This is safe, it is going to be escaped if needed. %>
<%= t('welcome_html', username: @current_user.username %>
<%= t('welcome_html', username: @current_user.username) %>
```
Safe strings on the other hand are interpolated verbatim.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册