I could not get it to decode HTML entities
Closed this issue · 1 comments
Deleted user commented
installed version 1.1.1
var entities = require("entities");
console.log(entities.decodeHTML('hello+%22i+think%22+%27therefore+I+am%27+%26%0D%0Ayou+are+%7C+also'));
Console output is:
hello+%22i+think%22+%27therefore+I+am%27+%26%0D%0Ayou+are+%7C+also
Deleted user commented
I realized that data is URI encoded. My form was URI encoded. I needed to change the enctype of my form.