Skip to content

Commit

Permalink
Fixes readme and adds thanks
Browse files Browse the repository at this point in the history
  • Loading branch information
BoDonkey committed Mar 14, 2024
1 parent e410f6e commit 49a320b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 49a320b

Please sign in to comment.