From 78ead053da24a3ee25c1d61758aef48199d5a0c4 Mon Sep 17 00:00:00 2001 From: Rajesh Babu Date: Thu, 18 Jul 2024 13:19:18 +0200 Subject: [PATCH] Rollback to module-name import --- src/sanitizeHtml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sanitizeHtml.ts b/src/sanitizeHtml.ts index 0b1e6b7..62f2851 100644 --- a/src/sanitizeHtml.ts +++ b/src/sanitizeHtml.ts @@ -1,4 +1,4 @@ -import sanitize from "sanitize-html"; +import * as sanitize from "sanitize-html"; /** * The reason for sanitization is because OpenAI does not need all of the HTML tags