Do not sanitize Album comments. This was already handled in the backend, when importing. Fix #715

This commit is contained in:
Deluan 2021-02-02 19:08:00 -05:00 committed by Joe Stump
parent c1341251c3
commit c86cff33e1
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -83,7 +83,7 @@ const AlbumComment = ({ record }) => {
const formatted = useMemo(() => {
return record.comment.split('\n').map((line, idx) => (
<span key={record.id + '-comment-' + idx}>
{line}
<span dangerouslySetInnerHTML={{ __html: line }} />
<br />
</span>
))