Skip to content

Commit

Permalink
Merge pull request #31 from perimetre/2.1.1
Browse files Browse the repository at this point in the history
2.1.1
  • Loading branch information
adarleyjrr authored Apr 8, 2021
2 parents b1a46e7 + b5b49ca commit 970420f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [2.1.1] - 2021-04-08

### 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 package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@perimetre/ui",
"description": "A component library made by @perimetre",
"version": "2.1.0",
"version": "2.1.1",
"repository": {
"type": "git",
"url": "git+https://github.com/perimetre/ui.git"
Expand Down
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 970420f

Please sign in to comment.