minor fix in support ticket list view
diff --git a/erpnext/support/doctype/support_ticket/listview.js b/erpnext/support/doctype/support_ticket/listview.js
index eb0ba72..3bbb197 100644
--- a/erpnext/support/doctype/support_ticket/listview.js
+++ b/erpnext/support/doctype/support_ticket/listview.js
@@ -34,9 +34,12 @@
});
// escape double quotes
- data.description = cstr(data.subject).replace(/"/gi, '\"')
- + " | " + cstr(data.description).replace(/"/gi, '\"');
-
+ data.description = cstr(data.subject)
+ + " | " + cstr(data.description);
+
+ data.description = data.description.replace(/"/gi, '\"')
+ .replace(/</gi, '<').replace(/>/gi, '>');
+
// description
if(data.description && data.description.length > 50) {
data.description = '<span title="'+data.description+'">' + data.description.substr(0,50) + '...</span>';