Why doesn't data with <> in it export to csv?
Why doesn't data with <> in it export to csv?

I have some data which contains '<>' characters in it and when i use the export to csv functionality in javascript , the data inbetween the angular brackets(<>) do not get exported. Can anyone please help me with this.
Example :
Data : a<=b>=c
Data that gets exported : a=c
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @dragonking ,
It's because it believes that's a HTML tag. You can disable that by setting
stripHtml: false
- see here. I did try to reproduce the condition, but for me the string remained intact - if you're seeing problems still, please could you modify my test case to demonstrate the problem.Cheers,
Colin
Hi @colin ,
Your solution worked perfectly. You're a lifesaver.
Thanks,
DragonKing