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
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ const AlbumComment = ({ record }) => {
|
||||||
const formatted = useMemo(() => {
|
const formatted = useMemo(() => {
|
||||||
return record.comment.split('\n').map((line, idx) => (
|
return record.comment.split('\n').map((line, idx) => (
|
||||||
<span key={record.id + '-comment-' + idx}>
|
<span key={record.id + '-comment-' + idx}>
|
||||||
{line}
|
<span dangerouslySetInnerHTML={{ __html: line }} />
|
||||||
<br />
|
<br />
|
||||||
</span>
|
</span>
|
||||||
))
|
))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue