web/linkinfo: sanitise title whitespace

This fixes the common webpage where newlines are found within `<title>` tags (which is also a message injection issue).