Parsing pdf working

But there is a hitch in (I think) title checking because we can parse the simple pdf but the original pdf highlight isn't being parsed even as a location.
I think the issue is because the title has a few spaces before a newline, but I am not very sure. 

Have a look if you get some time.