-
Notifications
You must be signed in to change notification settings - Fork 10
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
Date incorrectly formatted as numbered list #140
Comments
Thanks for reporting! This isn't great, that's true, but that is standard markdown behaviour. Not sure what I can do about it without disabling numbered lists altogether. I do not speak Latvian, but is this usual that a sentence starts with the date? |
Ah, got it. Is there any hack that would prevent it from mangling the number in an invisible way? Yes, it is perfectly fine for a sentence to start with a date - and it could be any ordinal number, not just a date. For example, a sentence that would say "The 7th-graders stayed at home today because it was -30" could start as "7. klases skolēni...". |
Unfortunately yes. Markdown allows incorrect numbering and still converts it into a running order. You could have three paragraphs starting with "1." and it would convert it into "1." "2." "3.". It's not my favorite Markdown behavior, but it is like it is. I just tried it out and escaping the dot seems to do the trick, e.g. Sorry for the inconvenience! |
Awesome, thank you - escaping the dot didn't occur to me (added space to follow the grammar rules). |
An event description in Latvian that starts with a date - for example, "21. jūlijā" - is incorrectlyformatted as a numbered list.
Even more, it is actually converted to "1. jūlijā".
An example entry were this was observed - I hacked around it with a leading backslash, but that's suboptimal, as it's displayed.
https://osmcal.org/event/2220/
The text was updated successfully, but these errors were encountered: