Handle relative links where there is a <base> tag in the HTML