Skip to content

Commit

Permalink
Merge pull request #956 from MortenHofft/patch-1
Browse files Browse the repository at this point in the history
Documentation
  • Loading branch information
cure53 authored May 18, 2024
2 parents 3fe78d7 + 952f309 commit 96bf0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const clean = DOMPurify.sanitize(dirty);
Or maybe this, if you love working with Angular or alike:

```js
import * as DOMPurify from 'dompurify';
import DOMPurify from 'dompurify';

const clean = DOMPurify.sanitize('<b>hello there</b>');
```
Expand Down

0 comments on commit 96bf0d4

Please sign in to comment.