#89682Linkvalidator: external URLs containing `& amp ;` or whitespace at the end not working
Description
When inserting external links via CKEditor, ampersands (&) are converted to & amp ; in the source code. That’s fine for usage in the frontend, but the link validator seems to have problems with this as it tries to verify the link containing the html-entity-version of the ampersand (which doesn’t work).
Links ending with whitespace (e. g. <a href="https://www.typo3.org/ ">link</a>) also work in the frontend but not with the link validator.
The attached patch file should take care of both issues.