Fix for updating <span> boundaries during user editing

This partially (and alas imperfectly) implements the third stage
described in http://jira.palaso.org/issues/browse/WS-34799.  Of course, perfection is probably unobtainable.
Are you missing the missing article before the word "test"?