From 868534e18f8c24bdea084ff29530b2729dc7fae8 Mon Sep 17 00:00:00 2001 From: Luc Gagan Date: Sun, 12 Nov 2023 12:29:13 -0600 Subject: [PATCH] docs: document HTML sanitization --- src/sanitizeHtml.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/sanitizeHtml.ts b/src/sanitizeHtml.ts index b958a44..dd63bf1 100644 --- a/src/sanitizeHtml.ts +++ b/src/sanitizeHtml.ts @@ -1,9 +1,15 @@ import sanitize from "sanitize-html"; /** - * The reason for sanitization is because we do not need all HTML tags to be present in the prompt. - * For example, we do not need