Fix conversion of glossary to markdown