Strange problem with href tag on Kindle

Strange problem with href tag on Kindle

Not sure if this is the right forum, as the question seems to be about a problem with html on Kindle, but maybe someone can direct me to a better forum.
I'm having a very strange problem with endnotes....