fix(compiler-sfc): the empty lang attribute should be treated as no lang specified (#3051)
This commit is contained in:
@@ -121,6 +121,7 @@ export function parse(
|
||||
p.type === NodeTypes.ATTRIBUTE &&
|
||||
p.name === 'lang' &&
|
||||
p.value &&
|
||||
p.value.content &&
|
||||
p.value.content !== 'html'
|
||||
))
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user