Using getCustomImage does not validate for XHTML

I am using the getCustomImage and printCustomAlbumThumbImage functions in my theme which seem to cause problems when trying to validate for XHTML.

The problem seems to be a result of the ampersand character being used in the URL.

Check it out here:
http://s.angoulvant.net/

You can try validating by clicking XHTML at the bottom of the page.

Comments

  • Fixed.

    I replaced the ampersands lines 258-261 of classes.php for `function getCustomImage`, by the code `&`.

    Everything seems to work great however this should be fixed in the next release...
  • Skwid Member
    Oh nice, I'm glad my intuitions were right :)
  • @Stephane - Thanks very much for this, I was having the same issue. Great site BTW.
  • Thank You!
Sign In or Register to comment.