Title: [Plugin: WPaudio MP3 Player] Valid XHTML problem
Last modified: August 19, 2016

---

# [Plugin: WPaudio MP3 Player] Valid XHTML problem

 *  [Squirrel](https://wordpress.org/support/users/mossyoak/)
 * (@mossyoak)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/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/](http://wordpress.org/extend/plugins/wpaudio-mp3-player/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Squirrel](https://wordpress.org/support/users/mossyoak/)
 * (@mossyoak)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-wpaudio-mp3-player-valid-xhtml-problem/#post-1176568)
 * 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>
 *  [iceton](https://wordpress.org/support/users/toddiceton/)
 * (@toddiceton)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-wpaudio-mp3-player-valid-xhtml-problem/#post-1176585)
 * 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
 *  Thread Starter [Squirrel](https://wordpress.org/support/users/mossyoak/)
 * (@mossyoak)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-wpaudio-mp3-player-valid-xhtml-problem/#post-1176748)
 * Cool 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WPaudio MP3 Player] Valid XHTML problem’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [Squirrel](https://wordpress.org/support/users/mossyoak/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-wpaudio-mp3-player-valid-xhtml-problem/#post-1176748)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
