Make text about render :html option clearer to state, text will get escaped if not marked as safe by using html_safe

Fixes #22648
[ci skip]
This commit is contained in:
Vipul A M 2016-01-19 15:14:22 +05:30
parent bb4c63c703
commit 0764e67863
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ TIP: This is useful when you're rendering a small snippet of HTML code.
However, you might want to consider moving it to a template file if the markup However, you might want to consider moving it to a template file if the markup
is complex. is complex.
NOTE: This option will escape HTML entities if the string is not HTML safe. NOTE: When using `html:` option, HTML entities will be escaped if the string is not marked as HTML safe by using `html_safe` method.
#### Rendering JSON #### Rendering JSON