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:
Sébastien Chopin 2018-03-08 16:23:42 +01:00 committed by GitHub
commit b2d285cd81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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