mirror of
https://github.com/vector-im/element-web.git
synced 2026-03-01 19:41:15 +01:00
Stop being dangerous
This commit is contained in:
parent
71586a7223
commit
17c96dc25b
@ -82,12 +82,7 @@ export function LinkPreview({ onImageClick, compactLayout, ...preview }: LinkPre
|
||||
</Text>
|
||||
)}
|
||||
</Text>
|
||||
{preview.description && (
|
||||
<Text
|
||||
className={styles.description}
|
||||
dangerouslySetInnerHTML={{ __html: preview.description }}
|
||||
/>
|
||||
)}
|
||||
{preview.description && <Text className={styles.description}>{preview.description}</Text>}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user