The images below show that when typing in a command that needs root without sudo and then typing sudo!! to execute the last command with sudo privileges, sudo!! is not inserting a space when trying to execute that command.
I am on kernel 5.2.18-129 and all other software is up to date. Also I am using Gnome shell.