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

Function definition is messed up in downloaded image #1541

Open
p0syd0n opened this issue Nov 15, 2024 · 0 comments
Open

Function definition is messed up in downloaded image #1541

p0syd0n opened this issue Nov 15, 2024 · 0 comments
Labels

Comments

@p0syd0n
Copy link

p0syd0n commented Nov 15, 2024

Describe the bug
I define a function, and in the image download, the content of the function is outside of the function brackets.
To Reproduce

function printData() {
  console.log("data");
}

printData(5);

And then download, as PNG

Expected behavior
A correct image is generated
Screenshots
Screenshot showing incorrect image code formatting

Info (please complete the following information):

  • OS [e.g. macOS, Linux, Windows, iOS]: Chrome
  • Browser [e.g. Chrome, Safari, Firefox]: Chrome
  • Carbon URL [e.g. carbon.now.sh?bg=pink]: URL
@p0syd0n p0syd0n added the bug label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant