fix links to references in html notes