link density calculation: compress whitespace
link density calculation: compress whitespace

was causing erroneous results with menu items surrounded by lots of
whitespace. Link density should be approaching 1 in such cases. But
without compressing whitespace, the density can be waaaaay out if there
is lots of whitespace outside the links.

bcampbell/arts