Skip to content

Commit

Permalink
Make text about render :html option clearer to state, text will get e…
Browse files Browse the repository at this point in the history
…scaped if not marked as safe by using html_safe

Fixes #22648
[ci skip]
  • Loading branch information
vipulnsward committed Jan 19, 2016
1 parent bb4c63c commit 0764e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/layouts_and_rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

Expand Down

0 comments on commit 0764e67

Please sign in to comment.