Skip to content

Commit b3342ff

Browse files
committed
trustHTML
1 parent 36d7ff6 commit b3342ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/release/components/looping-through-lists.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ as a string.
191191
Be sure to sanitize the HTML before you render it.
192192
</p>
193193
<p>
194-
We can use the <a href="https://api.emberjs.com/ember/release/functions/@ember%2Ftemplate/htmlSafe">htmlSafe</a>
195-
function to mark a sanitized HTML as safe, then use double curly brackets to render the HTML.
194+
We can use the <a href="https://api.emberjs.com/ember/release/functions/@ember%2Ftemplate/trustHTML">trustHTML</a>
195+
function to mark a sanitized HTML as trusted, then use triple curly brackets to render the HTML.
196196
We can also create a <a href="../helper-functions">helper</a> that sanitizes the HTML, marks it as safe,
197197
and returns the output.
198198
</p>

0 commit comments

Comments
 (0)