1
0
mirror of synced 2025-12-22 11:26:57 -05:00

fix html encoded entity in code example and article cards (#22328)

This commit is contained in:
Mike Surowiec
2021-10-25 13:40:02 -07:00
committed by GitHub
parent bf9963f9da
commit 3fbda10305
2 changed files with 5 additions and 2 deletions

View File

@@ -14,7 +14,10 @@ export const CodeExampleCard = ({ example }: Props) => {
>
<div className="p-4">
<h4 dangerouslySetInnerHTML={{ __html: example.title }} />
<p className="mt-2 mb-4 color-text-tertiary">{example.description}</p>
<p
className="mt-2 mb-4 color-text-tertiary"
dangerouslySetInnerHTML={{ __html: example.description }}
/>
<div className="d-flex flex-wrap">
{example.tags.map((tag) => {
return (