Skip to content

📨 The ultimate agentic social media scheduling tool 🤖

feat: fix bold and underline for gt and lt

Nevo David82c8b5323648
diff --git a/libraries/helpers/src/utils/strip.html.validation.ts b/libraries/helpers/src/utils/strip.html.validation.ts
index 7691bb460..d780fc714 100644
--- a/libraries/helpers/src/utils/strip.html.validation.ts
+++ b/libraries/helpers/src/utils/strip.html.validation.ts
@@ -255,7 +255,11 @@ export const stripHtmlValidation = (
return striptags(processedHtml)
.replace(/>/gi, '>')
- .replace(/&lt;/gi, '<');
+ .replace(/&lt;/gi, '<')
+ .replace(/&𝗹𝘁;/gi, '<')
+ .replace(/&𝗴𝘁;/gi, '>')
+ .replace(/&g̲t̲;/gi, '>')
+ .replace(/&l̲t̲;/gi, '<');
}
// Strip all other tags