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
parent 905c685696
commit 8e02659441
1 changed files with 1 additions and 1 deletions

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>
))