Skip to content

Commit

Permalink
README changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gkumar9891 committed Mar 5, 2024
1 parent eb4b10c commit 31aebae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ If you set `disallowedTagsMode` to `completelyDiscard`, disallowed tags and any
disallowedTagsMode: 'completelyDiscard'
```

this will transform `<disallowed>content <allowed>content</allowed> </disallowed>` to `<allowed>content</allowed>`
This will transform `<disallowed>content <allowed>content</allowed> </disallowed>` to `<allowed>content</allowed>`

#### Escape the disallowed tag and all its children even for allowed tags.

Expand All @@ -736,7 +736,7 @@ if you set `disallowedTagsMode` to `recursiveEscape`, disallowed tag and its chi
disallowedTagsMode: `recursiveEscape`
```

this will transform `<disallowed>hello<p>world</p></disallowed>` to `&lt;disallowed&gt;hello&lt;p&gt;world&lt;/p&gt;&lt;/disallowed&gt;`
This will transform `<disallowed>hello<p>world</p></disallowed>` to `&lt;disallowed&gt;hello&lt;p&gt;world&lt;/p&gt;&lt;/disallowed&gt;`

### Ignore style attribute contents

Expand Down

0 comments on commit 31aebae

Please sign in to comment.