Do not sanitize Album comments. This was already handled in the backend, when importing. Fix #715
This commit is contained in:
@@ -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>
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user