Skip to content

Commit d9450cf

Browse files
authored
Merge pull request #61 from yoshisatoyanagisawa/patch-1
Editorial: fix typo from santizer to sanitizer
2 parents ca1938b + f3aafb9 commit d9450cf

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)