There are so,e problems validating a gallery using http://validator.w3.org/
1) use & and not only & (on line 408)
2) use '<br style="clear: both;" /> and not <br clear="all"> (on line 431)
3) use alt="" in img-tags (on line 408)
4) start $result with </p> and end it with <p> cause of <ul>
Comments
Comment #1
vacilando commentedVery nice, thanks, uther, did all of that (except of your 4th point - that moved the 'table' and therefore did not look like a good idea). Just rolled out a new dev version.
Should you have other recommendations, don't hesitate to post them or provide a patch.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.