Skip to content

Commit f3aafb9

Browse files
Editorial: fix typo santizer -> sanitizer
This is a minor fix of typos from santizer to sanitizer.
1 parent ca1938b commit f3aafb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patching-explainer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ A few details about one-off patching:
4242

4343
To account for HTML sanitation, this API would have an "Unsafe" version and would accept a sanitizer in its option, like [`setHTML`](https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML):
4444
```js
45-
byteOrTextStream.pipeTo(elementOrShadowRoot.streamHTML({santizer}));
46-
byteOrTextStream.pipeTo(elementOrShadowRoot.streamHTMLUnsafe({santizer}));
45+
byteOrTextStream.pipeTo(elementOrShadowRoot.streamHTML({sanitizer}));
46+
byteOrTextStream.pipeTo(elementOrShadowRoot.streamHTMLUnsafe({sanitizer}));
4747
```
4848

4949
Also see detailed discussion at https://github.com/whatwg/html/issues/11669, will amend this explainer once that's settled.

0 commit comments

Comments
 (0)