carbon-app / carbon

:black_heart: Create and share beautiful images of your source code
https://carbon.now.sh
MIT License
34.29k stars 1.9k forks source link

Preview does not match export #1499

Closed Pyrolistical closed 5 months ago

Pyrolistical commented 6 months ago

Describe the bug Extra new line on exported image not present in preview

To Reproduce Steps to reproduce the behavior:

  1. Look at preview

Preview: Screenshot 2023-12-18 at 12 34 35

Actual exported image: carbon

Expected behavior Preview to match exported image

Info (please complete the following information):

SeanDylanGoff commented 5 months ago

Minimal reproduction: https://carbon.now.sh/?bg=rgba%28171%2C+184%2C+195%2C+1%29&t=seti&wt=none&l=text%2Fx-java&width=750&ds=true&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=18px&ph=14px&ln=false&fl=1&fm=Hack&fs=14px&lh=133%25&si=false&es=2x&wm=false&code=new%2520Rental%28%29%253B

Env: Chrome on OSX, Version 120.0.6099.216 (Official Build) (arm64) Not reproducible in Safari.

LouisVenhoff commented 5 months ago

Meanwhile this bug is fixed ;)