The LinkExtractor class does not attempt to set anchorText on any found links.
Committed revision 939662.
Updated version that handles non-linking anchors.
This patch attempts to set the anchorText on found links. It may not be 100% reliable, but it does preserve the existing functionality to find links, and adds the anchorText where possible.