Skip to content

Commit

Permalink
merges main
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarrell76 committed Aug 9, 2023
2 parents a50eb46 + 2c4454a commit 6d34827
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/transcend-io/consent-manager-ui.git"
},
"homepage": "https://github.com/transcend-io/consent-manager-ui",
"version": "4.1.2",
"version": "4.2.0",
"license": "MIT",
"main": "build/ui",
"files": [
Expand Down
9 changes: 7 additions & 2 deletions src/components/AcceptAllOrMoreChoices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,13 @@ export function AcceptAllOrMoreChoices({
</p>
</div>
<div>
<p className="paragraph">
{formatMessage(messages.acceptAllDescription)}
<p className="paragraph">
<div
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{
__html: formatMessage(messages.acceptAllDescription),
}}
/>
</p>
</div>
</div>
Expand Down
9 changes: 8 additions & 1 deletion src/components/AcceptOrRejectAdvertising.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ export function AcceptOrRejectAdvertising({
</div>
<div>
<p className="paragraph">
{formatMessage(messages.acceptOrRejectAdvertisingDescription)}
<div
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{
__html: formatMessage(
messages.acceptOrRejectAdvertisingDescription,
),
}}
/>
</p>
</div>
</div>
Expand Down
7 changes: 6 additions & 1 deletion src/components/AcceptOrRejectAll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ export function AcceptOrRejectAll({
</div>
<div>
<p className="paragraph">
{formatMessage(messages.acceptAllDescription)}
<div
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{
__html: formatMessage(messages.acceptAllDescription),
}}
/>
</p>
</div>
</div>
Expand Down
7 changes: 6 additions & 1 deletion src/components/AcceptOrRejectAllOrMoreChoices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ export function AcceptOrRejectAllOrMoreChoices({
</div>
<div>
<p className="paragraph">
{formatMessage(messages.acceptAllDescription)}
<div
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{
__html: formatMessage(messages.acceptAllDescription),
}}
/>
</p>
</div>
</div>
Expand Down
9 changes: 8 additions & 1 deletion src/components/AcceptOrRejectAnalytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ export function AcceptOrRejectAnalytics({
</div>
<div>
<p className="paragraph">
{formatMessage(messages.acceptOrRejectAnalyticsDescription)}
<div
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{
__html: formatMessage(
messages.acceptOrRejectAnalyticsDescription,
),
}}
/>
</p>
</div>
</div>
Expand Down

0 comments on commit 6d34827

Please sign in to comment.