Converting HTML special characters returned in strings

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

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