ECMS-6059: "Label" field in Template Document has XSS vulnerability

Fix description:
  - Escape XSS script when render to the UI
ECMS-6059: "Label" field in Template Document has XSS vulnerability

Fix description:
  - escape XSS character after get the contentType
  - escape XSS character also for ListView