I have created an application that leverages AngularJS to pull data from the WP Rest API V2. The response includes escaped characters, like the example below:
"excerpt": {
"rendered": "<p>When we go shopping, we encounter many different labeling schemes, and it can often be difficult to figure out what the various types mean. To provide you with answers…</p>\n",
"protected": false
},
Is there a way to unescape these characters in Angular? I've explored various solutions but none seem to do the trick.
The data is currently displayed in my view as follows:
<div class="titlepane">
<h4 class="posttitle white">
{{posts.title.rendered}}
</h4>
<h4 class="categorytitle white">
{{categories.name}}
</h4>
</div>
You can observe the escaped character in the image provided.
https://i.sstatic.net/LkyCu.png
How can I address this issue?