There was an error while loading. Please reload this page.
javascript:
1 parent ab4a0e2 commit 947f311Copy full SHA for 947f311
1 file changed
packages/extension-link/src/link.ts
@@ -78,7 +78,7 @@ export const Link = Mark.create<LinkOptions>({
78
79
parseHTML() {
80
return [
81
- { tag: 'a[href]' },
+ { tag: 'a[href]:not([href *= "javascript:" i])' },
82
]
83
},
84
0 commit comments