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 image generation failure when specific characters are included #1528

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PENEKhun
Copy link

@PENEKhun PENEKhun commented Jul 12, 2024

Summary of Changes

Resolved an issue where images were not being generated correctly when specific strings were included in the source code, as shown on the third line of the image below. This fix applies to both PNG and SVG generation.

image

Reproduce

reproduce url : Carbon Code

// Reproduce
public static void main(String[] args) {
  Long money = 1000L;
}

Additional Notes

There is a known bug where typing in Korean on certain versions of macOS automatically triggers the backspace key. This issue has been documented here. Merging this PR will greatly benefit users experiencing this problem, including myself.

Copy link

vercel bot commented Jul 12, 2024

@PENEKhun is attempting to deploy a commit to the Carbon Team on Vercel.

A member of the Team first needs to authorize it.

@PENEKhun
Copy link
Author

Would you mind reviewing this for me, please?

@mfix22

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.

1 participant