Skip to content

Commit 6fc5c25

Browse files
committed
lint: fix
1 parent fa9e3a6 commit 6fc5c25

File tree

1 file changed

+1
-0
lines changed
  • src/runtime/markdown-parser/utils

1 file changed

+1
-0
lines changed

src/runtime/markdown-parser/utils/attrs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const unsafeLinkPrefix = [
1111

1212
export const isSafeAttribute = (attribute: string, value: string) => {
1313
if (attribute.startsWith('on')) {
14+
// eslint-disable-next-line no-console
1415
console.warn(`[@nuxt/content] removing unsafe attribute: ${attribute}="${value}"`)
1516
return false
1617
}

0 commit comments

Comments
 (0)