Edit title to prevent long titles and add a space after title in parser