WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Google Syntax Highlighter for WordPress] <script> tags incorrectly used (1 post)

  1. greeney92
    Member
    Posted 5 years ago #

    The code at the bottom of the plugin, that includes the highlighter's JS files, is wrong. You use
    <script class="javascript" src="..."></script>
    when you should use
    <script type="text/javascript" src="..."></script>.
    Class is not a valid attribute for the <script> tag. It's an easy fix, though.

Topic Closed

This topic has been closed to new replies.

About this Topic