Hey folks! Has anyone figured out an easy way to convert or clean up HTML special character codes that are returned in strings? I am getting the codes reflected in this webpage.
![image](https://us1.discourse-cdn.com/flex016/uploads/coda1/original/3X/6/b/6b7d8a20f96b2743a7abdde2c54579939c5ac51a.png)
I’m guessing there’s a Js library I could use, but I still prefer using Pack studio. Has anyone found a workaround through the browser yet?
Thanks in advance!
In a Pack I’m working on I used the unescape
function from the lodash library. They provide a small file which just contains this function, and you might be able to copy and paste it into the Pack Studio.
Note that lodash’s function only handles a few of the most common entities, not the full set. Their docs point to the he library for more complete coverage.
1 Like