I am new to WordPress, find a few annoying things how WP generates markups. Not sure if this is normal behaviour or bug in v2.8
1. sidebar widget - UL only. Sometimes DL is more appropriate. It's disturbing that you force users to use only UL tag.
2. This is the most annoying of all I have encountered thus far:
WP injects a p tag around my paypal button and a br tag after the opening of label .
I have this :
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div><input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="62" /><div>
<label for="d2"><input type="image" id="d2" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /></label></form> </div>
and the output becomes this:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div>
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="6423892" /></div>
<p><label for="d2"><br />
<input type="image" id="d2" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /></label></form>
Basically it inserted an opening p without closing it and added a br tag after the opening label tag.