Fix links and skip whitespace.