fix: enable use of links in descriptions by dangerouslySetting HTML
This commit is contained in:
@@ -32,7 +32,10 @@ export default function BenefitCard({
|
|||||||
</span>
|
</span>
|
||||||
</hgroup>
|
</hgroup>
|
||||||
</summary>
|
</summary>
|
||||||
<p className={styles.benefitCardDescription}>{description}</p>
|
<p
|
||||||
|
className={styles.benefitCardDescription}
|
||||||
|
dangerouslySetInnerHTML={{ __html: description }}
|
||||||
|
/>
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.benefitComparison}>
|
<div className={styles.benefitComparison}>
|
||||||
|
|||||||
@@ -87,7 +87,10 @@ function BenefitTableHeader({ name, description }: BenefitTableHeaderProps) {
|
|||||||
</span>
|
</span>
|
||||||
</hgroup>
|
</hgroup>
|
||||||
</summary>
|
</summary>
|
||||||
<p className={styles.benefitDescription}>{description}</p>
|
<p
|
||||||
|
className={styles.benefitDescription}
|
||||||
|
dangerouslySetInnerHTML={{ __html: description }}
|
||||||
|
/>
|
||||||
</details>
|
</details>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user