WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Failing validation with WP pngfix (6 posts)

  1. greencode
    Member
    Posted 5 years ago #

    I've run my blog through validation and it's failing on the WP pngfix section of the code. Here's where:

    XML Parsing Error: xmlParseEntityRef: no name
    	if(($.browser.msie)&(parseInt($.browser.version)<7)){
    
    XML Parsing Error: StartTag: invalid element name
    	if(($.browser.msie)&(parseInt($.browser.version)<7)){

    the no name is the & symbol

    the invalid element name is the < symbol

  2. stvwlf
    Member
    Posted 5 years ago #

    you want a double ampersand, meaning 'and'

  3. greencode
    Member
    Posted 5 years ago #

    Where do I insert the && symbols?

  4. greencode
    Member
    Posted 5 years ago #

    Any further thoughts with this? I'm quite surprised nobody else has come across this issue.

  5. wpgwiggum
    Member
    Posted 5 years ago #

    give the HITS png fix plugin a try?

  6. greencode
    Member
    Posted 5 years ago #

    I tried HITS png fix but that didn't play nice with my design... In fact it threw things all over the place! What I did to get through validation was to create a separate js file for that section I was having issues with and now everything is fine.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags