Do not sanitize Album comments. This was already handled in the backend, when importing. Fix #715
This commit is contained in:
parent
905c685696
commit
8e02659441
|
@ -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>
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue