Skip to content

Update links for htmlSafe => trustHTML #2120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions guides/release/components/looping-through-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ as a string.
Be sure to sanitize the HTML before you render it.
</p>
<p>
We can use the <a href="https://api.emberjs.com/ember/release/functions/@ember%2Ftemplate/htmlSafe">htmlSafe</a>
function to mark a sanitized HTML as safe, then use double curly brackets to render the HTML.
We can use the <a href="https://api.emberjs.com/ember/release/functions/@ember%2Ftemplate/trustHTML">trustHTML</a>
function to mark a sanitized HTML as trusted, then use triple curly brackets to render the HTML.
We can also create a <a href="../helper-functions">helper</a> that sanitizes the HTML, marks it as safe,
and returns the output.
</p>
Expand Down