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 9176daf commit 900dd93Copy full SHA for 900dd93
src/runtime/validator.ts
@@ -26,7 +26,7 @@ export const useChecker = (
26
}
27
28
// Clean up Vue scoped style attributes
29
- html = typeof html === 'string' ? html.replace(/ ?data-v-[a-z0-9]+\b/g, '') : html
+ html = typeof html === 'string' ? html.replace(/ ?data-v-[-a-z0-9]+\b/g, '') : html
30
const { valid, results } = validator.validateString(html)
31
32
if (valid && !results.length && logLevel === 'verbose') {
0 commit comments