Skip to content

Commit

Permalink
Disable eslint on copied line from ts-stack
Browse files Browse the repository at this point in the history
  • Loading branch information
pierremtb committed Jan 7, 2025
1 parent bf2bbd2 commit 462e565
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class SafeRenderer extends Renderer {
}

if (
// eslint-disable-next-line no-script-url
prot.indexOf('javascript:') === 0 ||
prot.indexOf('vbscript:') === 0 ||
prot.indexOf('data:') === 0
Expand Down

0 comments on commit 462e565

Please sign in to comment.