Fix definition lists with internal links in terms (closes #1032).

This fix puts braces around a term that contains an internal
link, to avoid problems with square brackets.