Skip to content

Escape only certain characters#21

Merged
StephenWakely merged 2 commits intomasterfrom
escapes
Jul 30, 2023
Merged

Escape only certain characters#21
StephenWakely merged 2 commits intomasterfrom
escapes

Conversation

@StephenWakely
Copy link
Owner

Fixes #18

Only characters ", / and ] should be an escaped, if a / is proceeded by any other character it is not treated as an escaped character. I am still escaping /n even though that isn't in the spec. I don't want to cause a regression. Happy to change that if anyone really finds it necessary.

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
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.

Invalid escape sequences should not be treated as an escape

1 participant