Escape hmtl char for choosegroup layout (closes #3945)