[Plugin: WP-SynHighlight] valid html suggestion – use type=text/javascript
-
I ran my site through the html market validation tool (https://validator.w3.org/) and one of the things it complained about is that the script markup didn’t say the type.
This was fixed by me manually on line 26 of modules/styles.php to be
echo “\n” . ‘<script type=”text/javascript” src=”‘ . $js_url . ‘”></script
Basically you add the
type=”text/javascript”
part between script and src=, and this makes it valid.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP-SynHighlight] valid html suggestion – use type=text/javascript’ is closed to new replies.