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'