Hello Chris and Dimitry,
Chris, thank you for your interest in the patch.
Dimitry, thank you for integrating the patch into the CVS.
I have discovered and fixed another bug in pasting of HTML, and delivered the fix in the following patch:
Do you think you could take over the patch into the *_dan_* branch in CVS? The fixed bug consist of erroneous pasting into strings containing quotation marks or '<' and '>' characters.