WordPress.org

Ready to get started?Download WordPress

Forums

WP-SynHighlight
valid html suggestion - use type=text/javascript (2 posts)

  1. whallify
    Member
    Posted 4 years ago #

    I ran my site through the html market validation tool (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/

  2. FractalizeR
    Member
    Plugin Author

    Posted 4 years ago #

    Thanks a lot, I am commiting this fix now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic