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

The number and then the dot at the beginning of the Rocket.Chat message are treated by Showdown as an ordered list #26

Open
drygdryg opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@drygdryg
Copy link
Contributor

drygdryg commented Jul 24, 2024

Rocket.Chat messages containing a number and then a dot are treated by Showdown as an ordered list, this leads to incorrect display of large numbers and inability to read them.
For example, the message

12345678. There's a problem with this personal ID.

Showdown converts to:

<ol start="12345678">
<li>There's a problem with this personal ID.</li>
</ol>

Together with the problems with displaying ordered lists in the Element Desktop client, we get an unreadable number, which is cropped on the left :
image

Reading the Showdown documentation and examining the Issues in their repository yielded no results. Maybe someone has any ideas on how to solve this problem?

@HerHde HerHde added the bug Something isn't working label Jul 25, 2024
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

2 participants