Skip to content

Emoji in code blocks screw up the line height making the line numbers wrong. #31310

@ara4n

Description

@ara4n

Steps to reproduce

Image

This looks to be a bit more noticeable since #31302

The problem is matrix-org/matrix-react-sdk#8224
aka matrix-org/matrix-react-sdk#8509 aka https://github.com/matrix-org/matrix-react-sdk/pull/11774/files

It seems obvious that deliberately over-enlarging emoji would cause this effect; @robintown what was the genesis of this?

Outcome

What did you expect?

Line height not to get screwed up by emoji

What happened instead?

Oversized emoji screw up line heights.

Operating system

No response

Application version

No response

How did you install the app?

No response

Homeserver

No response

Will you send logs?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-EmojiO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions