Title: [Plugin: WP-SynHighlight] valid html suggestion &#8211; use type=text/javascript
Last modified: August 19, 2016

---

# [Plugin: WP-SynHighlight] valid html suggestion – use type=text/javascript

 *  [whallify](https://wordpress.org/support/users/whallify/)
 * (@whallify)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-synhighlight-valid-html-suggestion-use-typetextjavascript/)
 * I ran my site through the html market validation tool ([http://validator.w3.org/](http://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.
 * [http://wordpress.org/extend/plugins/wp-synhighlight/](http://wordpress.org/extend/plugins/wp-synhighlight/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [FractalizeR](https://wordpress.org/support/users/fractalizer/)
 * (@fractalizer)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-synhighlight-valid-html-suggestion-use-typetextjavascript/#post-1577827)
 * Thanks a lot, I am commiting this fix now.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP-SynHighlight] valid html suggestion – use type=text/javascript’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-synhighlight.svg)
 * [WP-SynHighlight](https://wordpress.org/plugins/wp-synhighlight/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-synhighlight/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-synhighlight/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-synhighlight/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-synhighlight/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-synhighlight/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [FractalizeR](https://wordpress.org/support/users/fractalizer/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-synhighlight-valid-html-suggestion-use-typetextjavascript/#post-1577827)
 * Status: not resolved