I am forming a curl command from the API response i received. The issue is that the response may contain special characters like '\n', '\u0012', '\t'. For example if the response contains:
body: "\n\u0012xyz@gmail.com"
But on UI the unicode and line break characters are getting rendered:
<!--------line break is occurring ------>
.xyz@gmail.com
I am using angularjs as framework. Can anyone tell me how can i prevent these special characters from getting rendered on UI. Any help will be appreciated.