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

fix: emoji and unicode parsing by switching to yaml fork #54

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

dcreey
Copy link
Collaborator

@dcreey dcreey commented Aug 7, 2023

Fork is specifically maintained by @braydonk particularly for the interests of yamlfmt. Context: go-yaml/yaml#737 (comment)

Before:
Any multi-line string with emojis will collapse into a single line string and the emoji will be escaped.

After:
Multi-line strings with emojis are correctly left unedited.

Fork is specifically maintained by @braydonk particularly for the interests of yamlfmt.
Context: go-yaml/yaml#737 (comment)
@sethvargo
Copy link
Owner

I guess... do we have a use case for supporting emojis?

@dcreey dcreey marked this pull request as ready for review August 8, 2023 14:59
@dcreey
Copy link
Collaborator Author

dcreey commented Aug 8, 2023

Emojis are often used in github actions when posting comments on PRs/Issues.

@sethvargo sethvargo merged commit 7f726e8 into sethvargo:main Aug 8, 2023
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