Skip to content

Commit

Permalink
fix: for links in htmlparsedcontent component
Browse files Browse the repository at this point in the history
  • Loading branch information
adarleyjrr committed Apr 8, 2021
1 parent b1a46e7 commit 5b77858
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fixed a bug that would cause links to sanitize their href tags in the HTMLParsedContent component

## [2.1.0] - 2021-03-24

### Changes
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/utils/wysiwyg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const editorSanitizeWhiteList: IWhiteList = {
em: [],
ins: [],
li: [],
a: [],
a: ['style', 'href', 'target'],
br: []
};

Expand Down

0 comments on commit 5b77858

Please sign in to comment.