Microsoft's new browser Edge doesn't seem to accept empty hrefs like <a href="">
. In all other browsers, this can be used to link to the base
tag. Though in Edge this doesn't seem to be the case.
I found a solution to this problem by setting the href to ./
in this question.
But having to change this on many sites is quite a hassle. Are there any other alternatives that do not require to change all the href's themselves?
Thanks in advance.
Use a utility function to rewrite the empty hrefs. For example:
References