File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
guides/release/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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>
You can’t perform that action at this time.
0 commit comments