You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for sharing this, but I couldn't get it to decode anything at all.
var Entities = require('html-entities').AllHtmlEntities, entities = new Entities(); console.log(entities.decode('Hello+%22I+think%22+%27therefore+I+am%27+%26+this+is+%7C+fun'));
Shows this in the console:
Hello+%22I+think%22+%27therefore+I+am%27+%26+this+is+%7C+fun
Yeah after trying 3 different npm html-entities decoders and none of them worked I started to wonder "maybe it's not you, it's me" lol.
I realized that my form data was URI encoded. I needed to change the enctype of my form.
Hi, thanks for sharing this, but I couldn't get it to decode anything at all.
var Entities = require('html-entities').AllHtmlEntities, entities = new Entities(); console.log(entities.decode('Hello+%22I+think%22+%27therefore+I+am%27+%26+this+is+%7C+fun'));
Shows this in the console:
Hello+%22I+think%22+%27therefore+I+am%27+%26+this+is+%7C+fun
Running version: html-entities@1.1.1 node_modules/html-entities
The text was updated successfully, but these errors were encountered: