Correctly parse page titles with spaces in them