We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9e3a6 commit 6fc5c25Copy full SHA for 6fc5c25
src/runtime/markdown-parser/utils/attrs.ts
@@ -11,6 +11,7 @@ export const unsafeLinkPrefix = [
11
12
export const isSafeAttribute = (attribute: string, value: string) => {
13
if (attribute.startsWith('on')) {
14
+ // eslint-disable-next-line no-console
15
console.warn(`[@nuxt/content] removing unsafe attribute: ${attribute}="${value}"`)
16
return false
17
}
0 commit comments