fixed linkinfo so that newlines aren't displayed