Link helper duplicates text and removes spaces/characters before and after
|Reported by:||isaackeyet||Owned by:|
|Keywords:||toolbar, link helper||Cc:|
Steps to reproduce:
- Go to editor, type some text.
- In the middle of a sentence, select a word or two and create a link.
- Title is prepopulated (good!), enter an URL, press Save.
- See havoc.
Looks like it removes spaces before and after, but sometimes words too. Seems to happen if the word before had a punctuation separator (eg comma). The text to be linked is inside the anchor like it should be, but after the link the same text is duplicated.
Note: none of this happens if a link is created where there was no text before, so it must be related to the recent changes for the format toolbar.