added support for relative links in html