chore: filter the onerror for img.
This commit is contained in:
parent
f4a216e6cf
commit
c3616a73fd
@ -134,6 +134,9 @@ const parseContent = async (content: string): Promise<string> => {
|
|||||||
'ol',
|
'ol',
|
||||||
'li',
|
'li',
|
||||||
],
|
],
|
||||||
|
allowAttributes: {
|
||||||
|
img: ['src', 'width', 'height', 'rel', 'target'],
|
||||||
|
},
|
||||||
allowComments: false,
|
allowComments: false,
|
||||||
}),
|
}),
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user