A minor annoyance to me that the blogger editor adds images with invalid XHTML. I'm using 'Editor HTML' mode, and every image I add gives me three things to correct:
- the attribute
border
is added with the value 0. It has been deprecated in strict (X)HTML - the attributes
alt
andid
are for some reason concatenated - the XHTML fragment is added to the top of the posting, not where I was when I pressed the 'add image' button
It looks like this:
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_...or.png"> <img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer;cursor:hand;" src="http://bp2.blogger.com/_rW2...or.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5125344444050294450"/> </a>
I have survived until now and will keep doing that, it's just that it irritates my DRY instinct.
0 comments :
Post a Comment