Skip to content

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

@RobbertJongeling

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions