From 49a320bf3968753bf6b9779a81de1b72cb7fcca0 Mon Sep 17 00:00:00 2001 From: Robert Means Date: Thu, 14 Mar 2024 08:44:42 -0400 Subject: [PATCH] Fixes readme and adds thanks --- CHANGELOG.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9c72ff..eb5fc1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - Documentation update regarding minimum supported TypeScript version. -- Added disallowedTagsMode: 'completelyDiscard' option to remove the content also in html +- Added disallowedTagsMode: `completelyDiscard` option to remove the content also in HTML. Thanks to [Gauav Kumar](https://github.com/gkumar9891) for this addition. ## 2.12.1 (2024-02-22) diff --git a/README.md b/README.md index 5640336..721c14e 100644 --- a/README.md +++ b/README.md @@ -711,7 +711,7 @@ Valid values are: `'discard'` (default), `'completelyDiscard'` (remove disallowe #### 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. +If you set `disallowedTagsMode` to `discard`, disallowed tags are discarded but but the inner content of disallowed tags is kept. ```js disallowedTagsMode: 'discard'