Tests that long URLs are correctly trimmed in anchor links.

Bug 100095