From eb4b10c3ff738b6ad1df435d8f828633835b1bf7 Mon Sep 17 00:00:00 2001 From: gkumar9891 Date: Wed, 6 Mar 2024 01:45:27 +0530 Subject: [PATCH] README changes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6c54b1d..6720fdf 100644 --- a/README.md +++ b/README.md @@ -709,14 +709,14 @@ This will transform `content` to `<disallowed>con Valid values are: `'discard'` (default), `'completelyDiscard'` (remove disallowed tag's content), `'escape'` (escape the tag) and `'recursiveEscape'` (to escape the tag and all its content). -#### Discard disallowed tag but keep its inner content +#### Discard disallowed but but the inner content of disallowed tags is kept. If you set `disallowedTagsMode` to `discard`, disallowed tags are discarded but don't remove inner content of disallowed tags. ```js disallowedTagsMode: 'discard' ``` -This will tranform `content` to `content` +This will transform `content` to `content` #### Discard entire content of a disallowed tag