CSE HTML Validation Issues

leoboom

Joined: 2007-12-29
Posts: 5
Posted: Thu, 2008-02-07 09:31

Hi, I am using wordpress 2.3.1 with gallery2 integrated using wpg2 3.0.1

Whenever I use any CSE HTML Validator, I will get a lot of the following warnings:

For better backward compatibility with HTML, use a space character before the '/' character.

...olf" ><img src="http://gallery.prim3.org/d/3544-2/spice_and_wolf.jpg" width="150" height="150" id="IFid4" class="ImageFrame_None" alt="spice_and_wolf"/></a></div>

The error is the / behind alt="spice_and_wolf" and in front of </a>

Any way to remove those warnings?

Thanks..

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2008-02-07 21:51

leoboom,

WPG2 will generate valid XHTML 1.0 Transitional code, I have tested this numerous times as I believe in having valid XHTML sites (now if I can just get Wordpress to generate valid XHTML code in it's postings I be happy)

Hmm I do not know why your alt has a / in the first place, the ALT text is generated by Gallery2 from your Albums Title, does your Title have a / at the end of it??

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
leoboom

Joined: 2007-12-29
Posts: 5
Posted: Fri, 2008-02-08 03:27

hi,

ermm.. checked and didn't find any / in the title part for my albums..

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Fri, 2008-02-08 03:59

ok, it looks like the Gallery2 Imageblock module is incorrectly setting your text then. WPG2 3.1 will correct this as we are replacing the Gallery2 Imageblock module with our own to correct a number of issues that we have been experiencing..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo