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

In room preview sidebar message ellipsizing happens before converting html escape sequences into characters, cutting characters in half #1868

Open
1 task
MorsMortium opened this issue Feb 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@MorsMortium
Copy link

Describe the bug

Title says it all.

To Reproduce

  1. Write a message in a room, which is long enough to get ellipsized (3 dots added to end), and put a special character, like " or & into it
  2. Resize the sidebar until the special character should be ellipsized
  3. See error

What happened?

The character is ellipsized before it is turned from escape seqence into the real character, resulting in things like &am... or &qu...

Expected behavior

That the text ends with "... or &...

Screenshots

Image

Version

nheko-git 0.12.0.r87.g101934b2-1

Operating system

Linux

Installation method

Some repository (AUR, homebrew, distribution repository, PPA, etc)

Qt version

6.8.1

C++ compiler

gcc 14.2.1+r134+gab884fffe3fc-2

Desktop Environment

KDE Plasma, wayland

Did you use profiles?

  • Profiles used?

Relevant log output

Backtrace

@MorsMortium MorsMortium added the bug Something isn't working label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant