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