Fixing bug where list names could contain unescaped HTML.