diff --git a/demos/src/Marks/Link/React/index.spec.js b/demos/src/Marks/Link/React/index.spec.js index bc13e1af8..ea5bf9057 100644 --- a/demos/src/Marks/Link/React/index.spec.js +++ b/demos/src/Marks/Link/React/index.spec.js @@ -136,7 +136,7 @@ context('/src/Marks/Link/React/', () => { disallowedProtocols.forEach(url => { cy.get('.tiptap').then(([{ editor }]) => { editor.commands.setContent(`
`) - expect(editor.getHTML()).to.not.include(``) + expect(editor.getHTML()).to.not.include(url) }) }) }) @@ -147,7 +147,7 @@ context('/src/Marks/Link/React/', () => { disallowedDomains.forEach(url => { cy.get('.tiptap').then(([{ editor }]) => { editor.commands.setContent(``) - expect(editor.getHTML()).to.not.include(``) + expect(editor.getHTML()).to.not.include(url) }) }) }) diff --git a/packages/extension-link/src/link.ts b/packages/extension-link/src/link.ts index 738d588d0..f0500da54 100644 --- a/packages/extension-link/src/link.ts +++ b/packages/extension-link/src/link.ts @@ -73,7 +73,7 @@ export interface LinkOptions { HTMLAttributes: Record