http://bugs.winehq.org/show_bug.cgi?id=12696
hugues leohome@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rob@codeweavers.com
--- Comment #2 from hugues leohome@free.fr 2008-04-22 16:06:18 --- 0.9.55: good 0.9.56: bad Here is the result of the regression test: 5209ed0c5e1f3b605b5d716896a09ebc094b8985 is first bad commit commit 5209ed0c5e1f3b605b5d716896a09ebc094b8985 Author: Rob Shearman rob@codeweavers.com Date: Fri Feb 8 12:17:10 2008 +0000
mshtml: Fix inserting a hyperlink when text is already selected.
There is no need to use cmd_insertLinkNoUI when we have the code to do most of the action anyway. Make use of the handy InsertLinkAroundSelection to insert the "a" element when not inserting at the caret and don't create a text node in this case because it is redundant.
HTH
Best regards