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

Ctrl+I (italics) generates incorrect Markdown if only part of a word is selected #27380

Closed
sboukortt opened this issue Apr 22, 2024 · 1 comment · Fixed by matrix-org/matrix-react-sdk#12523
Assignees
Labels
A-Composer O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@sboukortt
Copy link

Steps to reproduce

  1. Write a message, for example “Wow, this is a trimodal distribution!”
  2. Select the “tri” in “trimodal”
  3. Press Ctrl+I

Outcome

What did you expect?

That Element would generate Markdown that produces “Wow, this is a trimodal distribution!” (this achieved, for example, with Wow, this is a *tri*modal distribution!)

What happened instead?

Element uses _ to italicise the text, but they are not interpreted as such in the middle of words, so they appear as-is in the sent message

Operating system

No response

Application version

Element: 1.11.64; Olm: 3.2.15

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@sboukortt
Copy link
Author

sboukortt commented Apr 22, 2024

Incidentally, it seems that GitHub has exactly the same bug, although Discord doesn’t. (It always use *.)

@dbkr dbkr added S-Minor Impairs non-critical functionality or suitable workarounds exist A-Composer O-Occasional Affects or can be seen by some users regularly or most users rarely labels May 8, 2024
@t3chguy t3chguy self-assigned this May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Composer O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants