Improved parsing titles with newlines in them

Instead of just ignoring the URLs with newlines altogether now just the newlines are ignored.