Closed kiyopikko closed 8 months ago
Thanks! You're right, as per json.org the ampersand shouldn't be escaped. I've published the new version on NPM based on this commit here: https://github.com/kvnang/workers-og/commit/9866f9b2c1722252757cb464fa8f133c419b3a56
Thank you for great project!
I've encountered an issue with the
sanitizeJSON
function, where it unnecessarily escapes the&
character. This behavior seems to be causing issues when parsing JSON strings.If I've misunderstood something, I apologize π