fixed a bug (crash when trying to display the title of a link with carriage returns in it)