From b3342ff4d946d50a977746d038e5538865a9cf31 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Mon, 23 Jun 2025 14:39:36 -0400 Subject: [PATCH] trustHTML --- guides/release/components/looping-through-lists.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.