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

Latex mangles URL #23032

Open
HarHarLinks opened this issue Aug 8, 2022 · 0 comments
Open

Latex mangles URL #23032

HarHarLinks opened this issue Aug 8, 2022 · 0 comments
Labels
A-Maths Render LaTeX maths in messages A-Timeline O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Labs

Comments

@HarHarLinks
Copy link
Contributor

Steps to reproduce

  1. enable latex rendering in labs
  2. send a message containing a URL such as https://example.org/ext/11580940-01.jpg?$rtf_mt_prod-main-zoom_xl$

Outcome

What did you expect?

the URL gets parsed as URL

What happened instead?

the URL parser stops before ? and the rest between $s gets interpreted as latex.
image

the URL parser should overrule the latex parser in this case, because this is an ongoing URL

Related

#15846 and its dupes

Operating system

arch

Application version

Element Nightly version: 2022080701 Olm version: 3.2.12

How did you install the app?

aur

Homeserver

No response

Will you send logs?

No

@MadLittleMods MadLittleMods added S-Major Severely degrades major functionality or product features, with no satisfactory workaround A-Timeline A-Maths Render LaTeX maths in messages O-Uncommon Most users are unlikely to come across this or unexpected workflow Z-Labs labels Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Maths Render LaTeX maths in messages A-Timeline O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Labs
Projects
None yet
Development

No branches or pull requests

2 participants