Fix base URL issues in links to tag elements