diff --git a/src/HtmlUtils.tsx b/src/HtmlUtils.tsx
index 1d5defe45d..ef5ac383e3 100644
--- a/src/HtmlUtils.tsx
+++ b/src/HtmlUtils.tsx
@@ -233,7 +233,7 @@ const transformTags: IExtendedSanitizeOptions["transformTags"] = { // custom to
},
};
-export const sanitizeHtmlParams: IExtendedSanitizeOptions = {
+const sanitizeHtmlParams: IExtendedSanitizeOptions = {
allowedTags: [
'font', // custom to matrix for IRC-style font coloring
'del', // for markdown