Category tree html encoding problem fixed, closes #681