cancel
Showing results for 
Search instead for 
Did you mean: 

Remove type="text/javascript" for script tags

0 Kudos

Remove type="text/javascript" for script tags

Feature request from will-b, posted on GitHub Oct 25, 2015

type="text/javascript" is not needed for script tags any more. http://www.w3.org/TR/html5/scripting-1.html

app/code/Magento/Developer/Model/View/Page/Config/ClientSideLessCompilation/Renderer.php

line 307

$attributes = ' type="text/javascript" ' . trim($attributes);

3 Comments
Not applicable
Status changed to: Investigating
 
Not applicable

Comment from guz-anton, posted on GitHub Oct 28, 2015

I've created internal issue for this little fix MAGETWO-44724. Will see how fast it can be fixed. Thanks for note.

Not applicable

Comment from MomotenkoNatalia, posted on GitHub Sep 05, 2016

Hi @will-b, Part of the fixes was delivered under MAGETWO-33631