Fix for broken user role badges.

A bit of generated HTML was being escaped so it was printed rather than being
rendered.