#92126Still <script type="text/javascript" ... hardcoded in PageRenderer.php -> leads to validity warning
Description
The file ‘typo3/sysext/core/Classes/Page/PageRenderer.php’ still contains hardcoded <script type="text/javascript"></strong>, which leads to validation warnings (validator.w3.org/nu/).</p> <p>For instance, when <strong>‘spamProtectEmailAddresses’</strong> is set, the <strong>‘typo3/sysext/frontend/Classes/Http/RequestHandler.php’</strong> creates inline-js which is then wrapped into <strong><script type="text/javascript">…</script>
Also the function ‘renderAdditionalJavaScriptLibraries()’ (also in ‘typo3/sysext/core/Classes/Page/PageRenderer.php’) has a hardcoded […] . ‘” type=”’ . […] which leads to a <script type>…</script>, which also results in a validity-warning.
In the function ‘renderJavaScriptFiles()’ directly afterwards it was already fixed. :-)
At the monent these are just warnings, but sometimes in the future they will propably become errors, so this should be fixed.