(bug 22784) Fix normalization of whitespace in autocomment links