NEW: The parser now removes the spaces.

Before any text parsing even begins, the parsing function runs a method that removes all spaces that hold no meaning to the parser but spaces that can make a compile error are left behind, so the error can appear.