mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nuxt): add space before <html>
and <body>
attrs (#26027)
This commit is contained in:
parent
f844636e18
commit
c6e1c9bb70
@ -535,7 +535,8 @@ function joinTags (tags: string[]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function joinAttrs (chunks: string[]) {
|
function joinAttrs (chunks: string[]) {
|
||||||
return chunks.join(' ')
|
if (chunks.length === 0) return ''
|
||||||
|
return ' ' + chunks.join(' ')
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderHTMLDocument (html: NuxtRenderHTMLContext) {
|
function renderHTMLDocument (html: NuxtRenderHTMLContext) {
|
||||||
|
Loading…
Reference in New Issue
Block a user