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