Fix the space correcting code because restructured text still adds a bunch of paragraph tags