Skip to content

Commit eb4b10c

Browse files
committed
README changes
1 parent d6cd120 commit eb4b10c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,14 +709,14 @@ This will transform `<disallowed>content</disallowed>` to `&lt;disallowed&gt;con
709709

710710
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).
711711

712-
#### Discard disallowed tag but keep its inner content
712+
#### Discard disallowed but but the inner content of disallowed tags is kept.
713713

714714
If you set `disallowedTagsMode` to `discard`, disallowed tags are discarded but don't remove inner content of disallowed tags.
715715

716716
```js
717717
disallowedTagsMode: 'discard'
718718
```
719-
This will tranform `<disallowed>content</disallowed>` to `content`
719+
This will transform `<disallowed>content</disallowed>` to `content`
720720

721721
#### Discard entire content of a disallowed tag
722722

0 commit comments

Comments
 (0)