WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WPaudio MP3 Player] Valid XHTML problem

[Plugin: WPaudio MP3 Player] Valid XHTML problem

  • Hi,

    I just tested the W3C validation of a site I’m developing with this plugin and it breaks the validation.

    Its because the javascript it outputs in the source has ampersands eg:if (oStatus.success && isset(‘wpa_params’)) { in places I think.

    Please could you advise if it will still work if I change these to & ?

    Thanks

    http://wordpress.org/extend/plugins/wpaudio-mp3-player/

Viewing 3 replies - 1 through 3 (of 3 total)
  • nevermind- I figured out how to validate it sorry-

    I inserted some CData tags in the wpaudio.php for the javascript that was using the && symbols.
    <script type=”text/javascript”>
    /*<![CDATA[*/
    … code here …
    /*]]>*/
    </script>

    Thanks for bringing this up! I’ve included CDATA tags in the next release, which will validate out of the box.

    Let me know if you ever have any other comments or questions! Much appreciated.

    Todd

    Cool 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WPaudio MP3 Player] Valid XHTML problem’ is closed to new replies.
Skip to toolbar