Hmelex Hey, welcome to the forum. That is actually the expected behavior. You are defining a new variable in that field. Custom user defined variable names must not contain any special characters. However the content or value of that variable can contain any character.
Please note that you normally don’t have to define variables like that. That section of content is only used for arbitrary information and will not be supported by any theme.