Bracket-enclosed URLs automatically append %5D when clicked

We’re using a self-hosted instance of GitLab Enterprise Edition [13.12.8-ee]

If a job outputs a URL enclosed in brackets, then the URL is automatically made clickable. However, the closing bracket is add to the link when it is clicked, so if I click on [http://www.hello.com] I’m taken to http://www.hello.com%5D instead. You can see that the closing ] is underlined and clickable but the opening [ is not.

Not sure when this regressed but it wasn’t always the case.

This is a problem because we use Firebase Test Lab in our CI/CD pipeline, and it outputs text like

Test results will be streamed to [https://console.firebase.google.com/project/mycompany-development/testlab/histories/1234.5678/matrices/12345678].