Skip to content

Comments

Ruby and C implementations now escape U+2028/2029.#215

Closed
matthewbjones wants to merge 1 commit intoruby:masterfrom
matthewbjones:master
Closed

Ruby and C implementations now escape U+2028/2029.#215
matthewbjones wants to merge 1 commit intoruby:masterfrom
matthewbjones:master

Conversation

@matthewbjones
Copy link

This is a fix for Issue #214.

I modified the library to detect \u2028 and \u2029 within Ruby strings and escape those into their \u2028 and \u2029 counterparts. The test_json_unicode.rb was updated for these two conditions.

@marcandre
Copy link
Member

This PR looks good but need to be rebased and has conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants