mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
Fix HTML script tag in core/renderer to pass W3C validation (The type attribute is unnecessary for Javascript resources)
This commit is contained in:
parent
bb5a604c1b
commit
b554a524a8
@ -375,7 +375,7 @@ module.exports = class Renderer {
|
||||
)
|
||||
}
|
||||
|
||||
APP += `<script type="text/javascript">${serializedSession}</script>`
|
||||
APP += `<script>${serializedSession}</script>`
|
||||
APP += context.renderScripts()
|
||||
APP += m.script.text({ body: true })
|
||||
APP += m.noscript.text({ body: true })
|
||||
|
Loading…
Reference in New Issue
Block a user