Fix HTML script tag in core/renderer to pass W3C validation (The type attribute is unnecessary for Javascript resources)

This commit is contained in:
oXg3n 2018-03-08 15:38:29 +01:00
parent bb5a604c1b
commit b554a524a8

View File

@ -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 })