Invalid syntax for <link onload='...'/> in Chrome
Closed this issue · 1 comments
3rd commented
The generated <link onload='this.media=\' all\''/>
throws caught SyntaxError: Invalid or unexpected token (at (index):17:9140)
in Chrome.
The temporary fix is to do a string replace:
onload='this.media=\'all\''
-> onload="this.media='all'"
3rd commented
Looks like it's a Netlify issue, closing.