fix: don’t allow base64 images at all, fix #2455

This commit is contained in:
Philipp Kühn 2022-01-28 12:16:10 +01:00
parent e12b3ad80f
commit 999dbbec12

View File

@ -59,7 +59,7 @@ export const Image = Node.create<ImageOptions>({
parseHTML() {
return [
{
tag: 'img[src]',
tag: 'img[src]:not([src^="data:"])',
},
]
},