This element of the listing
checks that the href text matches the displayed text of the link.
When we altered our version strings to use Debian package syntax, our version numbers now include the of a colon ":". So, when this logic now is looking for links on the module page, the link for the subdirectory of the version is no longer being returned by this class because this equality check is now failing. We are using Jenkins build artifact pages and an Ivy URL resolver to locate these modules/versions and the issue is that due to the colon, the href value is URLEncoded and the text shows it plain. This now falls to the continue in the above code and we don't get the version URL in the list this class is supposed to return.
Example <a> tag that should work and no longer is now that our versions include the ":". (%3A is URLEncode of : )