To create a clickable image (to make previews easier).
example ::
.. image:: mini.jpg
:link: maxi.jpg
The same patch duplicates the class attribute on the
enclosing paragraph to allow stylesheets to act on the
anchor tag.
the previous generated pseudo code::
<p>
<img class="">
with the patch::
<p class="">
<a>
<img class="">
Logged In: YES
user_id=7733
The idea has been implemented, although in a different way
from the original patch. The place for most of the work is
in the parser, not the writer (which only needed minor changes).
The class-attribute duplication part was not implemented.
The rationale is unclear and ought to be brought up separately.