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

Edited /me m.emotes have spurious linewrapping. #28009

Open
ara4n opened this issue Sep 4, 2024 · 2 comments
Open

Edited /me m.emotes have spurious linewrapping. #28009

ara4n opened this issue Sep 4, 2024 · 2 comments
Labels
A-Emotes A-Message-Editing O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@ara4n
Copy link
Member

ara4n commented Sep 4, 2024

Steps to reproduce

  1. Send /me waves
  2. Edit it to say /me waves again
  3. Observe a spurious linebreak is added between the sender name and the message contents:
    Screenshot 2024-09-04 at 12 58 21

Outcome

What did you expect?

No line break. Either the edit should be plaintext, or the the client should strip any wrapping paragraph tags in order to display the contents without introducing a linebreak.

What happened instead?

It looks like the edit is adding a spurious paragraph tag around the message.

Operating system

No response

Application version

Element Nightly version: 2024090301 Crypto version: Rust SDK 0.7.1 (c8c9d15), Vodozemac 0.6.0

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@ara4n ara4n added the T-Defect label Sep 4, 2024
@ara4n
Copy link
Member Author

ara4n commented Sep 4, 2024

See also #27896 (and #6090)

@dosubot dosubot bot added A-Emotes O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist labels Sep 4, 2024
@ara4n
Copy link
Member Author

ara4n commented Oct 3, 2024

This is surprisingly common and super ugly:

Screenshot 2024-10-03 at 14 48 48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Emotes A-Message-Editing O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

2 participants