<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`sanitizeHTMLToDom`](sanitizeHTMLToDom)
## sanitizeHTMLToDom() function
**Signature:**
```typescript
export function sanitizeHTMLToDom(html: string): DocumentFragment;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>html</code> | <code>string</code> | |
**Returns:**
`DocumentFragment`