DEV Community

Pranjal Verma
Pranjal Verma

Posted on • Edited on

JSON not parsing &139; , " and many more

Hey guys, I have been working on my very first APIs project and in that project I'm making a "QUIZ APP", where from an API. I have been taking 10 question and giving them multiple choices and at end they will be getting scored. I'm using NODE.JS, EXPRESS, REQUEST, EJS for the app.

The problem comes here when i get a string from API. I change it to an object using JSON.parse() and sending it to EJS files and then displayed. but when their are symbols in question like ", ' , and more they are displayed as &139; , " like that.

                          HOW DO I FIX THAT.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)