workaround for @mentions for usernames that contain spaces. default esoTalk installations do not allow spaces in usernames, but this workaround is required for a custom installation which does. the workaround involves converting spaces to non-breaking spaces when suggesting names, and then converting them back to normal spaces when parsing for mentions.
fix cancel button bug