Fix unicode error when building search index
Convert intra-markdown links to work in generated HTML