correct link creation (webkit) when no range / selection is present

(Webkit only) Links created with nothing selected do not use the supplied link text or set the a.target correctly.