Remove unnecessary end of line whitespace
(re)Resolve issue808

This adds a second case, and a test, for the case of linking
to a specific project page with old-style URLs.