Skip to content

Zero-width unicode characters incorrectly affect dimensions of boxes #2734

Description

@RobbertJongeling

Zero-width unicode characters such as U+200B incorrectly influence the dimensions of rendered boxes.

The input x -> y without zero-width characters looks as expected: example on the playground

However, for the input ​​​​​x​​​​​ -> y , where x is surrounded on each side by 5 zero-width U+200B characters , the box for x is rendered much wider, see example on the playground

See below the difference between the two:

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions