Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

fix: allow dir attribute through post content sanitizer

Gilad Resisi75cb2f835620
diff --git a/libraries/helpers/src/utils/sanitize.post.content.ts b/libraries/helpers/src/utils/sanitize.post.content.ts
index d7a571069..7be30dabc 100644
--- a/libraries/helpers/src/utils/sanitize.post.content.ts
+++ b/libraries/helpers/src/utils/sanitize.post.content.ts
@@ -17,6 +17,7 @@ const ALLOWED_TAGS = [
];
const ALLOWED_ATTR = [
+ 'dir',
'href',
'target',
'rel',