Category tree html encoding problem fixed, closes #681

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Fixed tickets | #681
| License       | MIT