Skip to content

Fix parser translation when escaped newline with trailing content#4119

Merged
kddnewton merged 1 commit into
mainfrom
parser-translation-bug
May 26, 2026
Merged

Fix parser translation when escaped newline with trailing content#4119
kddnewton merged 1 commit into
mainfrom
parser-translation-bug

Conversation

@kddnewton
Copy link
Copy Markdown
Collaborator

Fixes #4113

@kddnewton kddnewton merged commit 81e07f3 into main May 26, 2026
61 checks passed
@kddnewton kddnewton deleted the parser-translation-bug branch May 26, 2026 15:48
@Earlopain
Copy link
Copy Markdown
Collaborator

Nice, thanks! I remember newline handling being a proper mess from when I did this initially. I'm glad I hadn't looking into this yet 😉

Commited the snapshot in d290a34

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.

Prism::Translation::ParserCurrent drops characters when parsing a string with a literal newline

2 participants