mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-21 07:59:33 +00:00
Merge pull request #2971 from oXg3n/fix-html5-script-tag
Fix HTML script tag in core/renderer to pass W3C validation
This commit is contained in:
commit
b2d285cd81
@ -375,7 +375,7 @@ module.exports = class Renderer {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
APP += `<script type="text/javascript">${serializedSession}</script>`
|
APP += `<script>${serializedSession}</script>`
|
||||||
APP += context.renderScripts()
|
APP += context.renderScripts()
|
||||||
APP += m.script.text({ body: true })
|
APP += m.script.text({ body: true })
|
||||||
APP += m.noscript.text({ body: true })
|
APP += m.noscript.text({ body: true })
|
||||||
|
Loading…
Reference in New Issue
Block a user