'How can I prevent from slash `/` from being forcefully added to my HTML link

I am trying to redirect users to a link outside my site and I want it to head to a particular section by using the pound sign # but html keeps adding / right infront of it

Code:

<a href="https://somesite.app#3D_AR" target="_blank">Walkthrough</a>

Keeps getting converted to https://somesite.app/#3D_AR.

I would like to be https://somesite.app#3D_AR



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source