Author: a.d.bergi
Description:
When you select some words with whitespaces in the end / beginning and click on "Link" or "Bold" or whatever, they are surrounded by the inserted chars instead of beeing trimmed and appended outside of the replacement.
This feature had been provided by the old toolbar in with the function checkSelectedText() in the http://bits.wikimedia.org/skins-1.5/common/edit.js, but it just caught blanks.
Maybe I'm going to try to build my first own patch, but it would be better if someone who already knows the code could do this.
Version: unspecified
Severity: normal