This short patch fixes a bug in pasting of selected HTML text.
The bug description:
Enter the text 'Hello "" Dolly' into SHTML, select short HTML text such as "Hello" in a web browser such as Firefox, copy the text to the clipboard using Control + V, position the cursor between the two quotation marks in SHTML in the text 'Hello "" Dolly', and paste the selected text using Control + V into SimplyHTML => The text is pasted not between the quotation marks but at the left of them.
Copyright (C) 2009 by Daniel Polansky, under GNU GPL V2 or later at your option.
This patch is not in the diff format. Instead, it just contains the full text of the new version of the corrected method.