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

Markdown should not be rendered in code snippets #5370

Closed
benthetechguy opened this issue Feb 27, 2022 · 1 comment
Closed

Markdown should not be rendered in code snippets #5370

benthetechguy opened this issue Feb 27, 2022 · 1 comment
Labels
A-Markdown O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-Papercuts Visible. Impactful. Predictable to action.

Comments

@benthetechguy
Copy link

Steps to reproduce

  1. Post or view message containing potential markdown in a code snippet.
    Example: `apt purge *nvidia*`
  2. Markdown is rendered inside the code snippet when it shouldn't be.

Outcome

What did you expect?

The markdown should not be rendered. The message should look like apt purge *nvidia*.

What happened instead?

The markdown was rendered and the message looked like this:
Screenshot_20220227-010526

Your phone model

OnePlus Nord N100

Operating system version

Android 11.0.4

Application version and app store

Element version 1.4.0, olm version 3.2.10, from F-Droid

Homeserver

fairydust.space

Will you send logs?

No

@benthetechguy benthetechguy added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Feb 27, 2022
@ouchadam ouchadam added A-Markdown O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users labels Feb 28, 2022
@ouchadam ouchadam added the Z-Papercuts Visible. Impactful. Predictable to action. label Feb 28, 2022
@ouchadam
Copy link
Contributor

fixed by #6357 and will be available in 1.4.26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Markdown O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-Papercuts Visible. Impactful. Predictable to action.
Projects
None yet
Development

No branches or pull requests

2 participants