diff --git a/guides/release/components/looping-through-lists.md b/guides/release/components/looping-through-lists.md index 8d915d0d7c..3f495172be 100644 --- a/guides/release/components/looping-through-lists.md +++ b/guides/release/components/looping-through-lists.md @@ -191,8 +191,8 @@ as a string. Be sure to sanitize the HTML before you render it.
- We can use the htmlSafe - function to mark a sanitized HTML as safe, then use double curly brackets to render the HTML. + We can use the trustHTML + function to mark a sanitized HTML as trusted, then use triple curly brackets to render the HTML. We can also create a helper that sanitizes the HTML, marks it as safe, and returns the output.