Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed visitStringValueNode for string blocks #454

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sh1l0n
Copy link

@sh1l0n sh1l0n commented Apr 3, 2024

Fix: #453

Before

"Lore ipsum
One
Two"

After:

"Lore ipsum\nOne\nTwo"

@knaeckeKami
Copy link
Collaborator

knaeckeKami commented Apr 8, 2024

Please fix the linting errors

Also, please add tests that call printNode(parseString("....") on blocks, non-blocks mit multiline strings.
I think the escape logic is now wrong, since you escape block strings which should not be escaped.

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.

[BUG] Printer fails with string blocks
2 participants