Handle escaped space characters in LaTeX-encoded strings.