I've just identified a problem using the <base> attribute. When using anchor links on a page to jump to a part of the page, the base attribute is applied here too which means that the anchor goes to the wrong url and the jump does not work. For example, if the base is
www.example.com/ and I have an '#anchor' link at
www.example.com/page.html#anchor , the base attribute forces this to go to
www.example.com/#anchor instead so this results in an error. Is there any way to make the base attribute ignore anchor links so that all other relative links are correctly linked but the anchor links are not affected by the attribute?