From 952f309a8eab106c40b559d94abefe0e5c026638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20H=C3=B8fft?= <6759267+MortenHofft@users.noreply.github.com> Date: Wed, 15 May 2024 15:31:59 +0200 Subject: [PATCH] documentation https://github.com/cure53/DOMPurify/issues/526#issuecomment-2112543369 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 738a2646..7f57ee65 100644 --- a/README.md +++ b/README.md @@ -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('hello there'); ```