When inserting a tag or person into a note, a space is always added after the inserted item. It would be nice if no space were added when there is already a space character following the insert. The auto-insert is helpful if the following character is not a space, or no following character exists.
For example, the string This is a note.
would change to This is a #tagged note.
if the cursor is placed after the βaβ character, a space is inserted, and then the tag is typed - a common editing process.