fix html validity for flickr gallery