fixed glossary view when term contains markup