Affiliates shortcode has problems (especially the banner shortcode)

The affiliates banner shortcode doesn't output the correct html for the affiliate to copy and paste. Here's what it looks like:

<a href='http://mysite.com?ref=traviscf-63'><br />
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="http://mysite.com/images/ads/pss125ad.jpg" alt='My Site' title='Check out My Site' /><br />
<noscript><img src="http://mysite.com/images/ads/pss125ad.jpg" alt='My Site' title='Check out My Site' /></noscript>
<p></a>

Also, the other shortcodes don't output the tables as nice as they are in the admin area. Is this right? I can clean it up somewhat with CSS but I just thought it'd be better if it looked the same as the backend. It looks much cleaner there. The html is also slightly different.