Skip to content

Conversation

@movermeyer-stripe
Copy link

What are you trying to accomplish?

Fixes #15

What approach did you choose and why?

Keep track of whether we found a second apostrophe to close an escape sequence.

What should reviewers focus on?

🤷 I believe this is valid syntax, and therefore we should handle it.
If it weren't, we should instead raise.

https://format-message.github.io/icu-message-format-for-translators/editor.html accepts it.

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.

If a quoted escape sequence hits the end of the string, the last character is duplicated

1 participant