For fixing space issues, why cant an underline be automatically placed if the user enters space in an object’s title, or were ever it not allowed? It would save time clearing warnings.
Use _ underscore instead of space , that will save you trouble,if I understood your query correctly. Hope I helped you.
I’m suggesting an idea that can be added.
I fixed the description so it can be more understandable.