The Python method
element.Image(url="http://.../smiley.png", caption=":)")
generates the following HTML code:
-------------
<img
contenteditable="false"
alt=":)"
src="http://.../smiley.png">
-------------
ideally it would generate
-------------
<img
contenteditable="false"
alt=":)"
title=":)" <------
src="http://.../smiley.png">
-------------
The reason for this is that it occasionally is beneficial to add extra text
information to an image, information which should be tightly coupled to the
image and only displayed upon request (ie when hovering with the mouse over
the image).
An text to image replacemente robot might unintentionally replace a
character sequence with an image. Having the title tag would let the
recipient of the message still decode the original text message with this
additional piece of information.
Best regards,
Daniel
Original issue reported on code.google.com by soundlin...@gmail.com on 29 May 2010 at 1:55
Original issue reported on code.google.com by
soundlin...@gmail.com
on 29 May 2010 at 1:55