mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 20:40:21 +02:00
don't set dangerouslySetInnerHtml for spoiler component
This commit is contained in:
@@ -175,7 +175,9 @@ const AlbumArtistMetadataBiography = ({
|
||||
artist: artistName,
|
||||
})}
|
||||
</TextTitle>
|
||||
<Spoiler dangerouslySetInnerHTML={{ __html: sanitizedBiography }} />
|
||||
<Spoiler maxHeight={50}>
|
||||
<div dangerouslySetInnerHTML={{ __html: sanitizedBiography }}></div>
|
||||
</Spoiler>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user