Wednesday 17 May 2017

Node JS escape angle brackets from description text

I have a problem with my description text which I read in pug HTML template with Express.js and Node.js.

Inside MongoDB, my description does not contain angle bracket on first and last characther places, but when I show description text on web page every description text starts and ends with < > Sample: < some description text >

Why are these brackets shows and how to remove it?



via zire

No comments:

Post a Comment