chore: update repo references
This commit is contained in:
@@ -1015,7 +1015,7 @@ describe('compiler: parse', () => {
|
||||
})
|
||||
})
|
||||
|
||||
// https://github.com/vuejs/vue-next/issues/4251
|
||||
// https://github.com/vuejs/core/issues/4251
|
||||
test('class attribute should ignore whitespace when parsed', () => {
|
||||
const ast = baseParse('<div class=" \n\t c \t\n "></div>')
|
||||
const element = ast.children[0] as ElementNode
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
||||
"url": "git+https://github.com/vuejs/core.git",
|
||||
"directory": "packages/compiler-core"
|
||||
},
|
||||
"keywords": [
|
||||
@@ -28,9 +28,9 @@
|
||||
"author": "Evan You",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/vuejs/vue-next/issues"
|
||||
"url": "https://github.com/vuejs/core/issues"
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme",
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.2.27",
|
||||
"@babel/parser": "^7.16.4",
|
||||
|
||||
@@ -719,7 +719,7 @@ function parseAttributes(
|
||||
const attr = parseAttribute(context, attributeNames)
|
||||
|
||||
// Trim whitespace between class
|
||||
// https://github.com/vuejs/vue-next/issues/4251
|
||||
// https://github.com/vuejs/core/issues/4251
|
||||
if (
|
||||
attr.type === NodeTypes.ATTRIBUTE &&
|
||||
attr.value &&
|
||||
|
||||
Reference in New Issue
Block a user