mindshape-GmbH / mindshape_cookie_consent

This extension provides functionality to create a customizable cookie consent for your website. It is developed for flexibility to be customized in accordance to your data security guidelines.
10 stars 13 forks source link

Remove the type="text/css" attribute #8

Closed quadronet closed 3 years ago

quadronet commented 3 years ago

Hey, please remove the type attribute from javascript:

featdd commented 3 years ago

Hi @quadronet,

could you please provide further details!?

Greetings Daniel

quadronet commented 3 years ago

Yes i can, in your RenderPreProcessHook.php you use the type attribute for javascript: $pageRenderer->addHeaderData('<script type="text/javascript"

https://validator.w3.org/ show an error:

Warning: The type attribute is unnecessary for JavaScript resources. s.de/"/> Githubissues.

  • Githubissues is a development platform for aggregating issues.