Inline links, which start with a number and a dot, are recognized as an ordered list
See original GitHub issueHi!
First of all: thank you for the great library! We noticed a small bug the other day.
We wanted to post an inline link as follows:
This in an inline link with a date at the beginning [04. February 2020](https://www.google.com) but which is displayed as an ordered list.
What we expected was:
This in an inline link with a date at the beginning 04. February 2020 but which is displayed as an ordered list.
What we’ve got:
This in an inline link with a date at the beginning 4. February 2020 but which is displayed as an ordered list.
Have you ever noticed this problem? I would be really happy about an answer.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Links in HTML documents - W3C
The value of this attribute is a space-separated list of link types. This attribute is used to describe a reverse link from the...
Read more ><ol>: The Ordered List element - HTML - MDN Web Docs
The HTML element represents an ordered list of items — typically rendered as a numbered list.
Read more >HTML Ordered Lists - W3Schools
An ordered list starts with the <ol> tag. Each list item starts with the <li> tag. The list items will be marked with...
Read more >html - How can you customize the numbers in an ordered list?
5em;} li:before {display: inline-block; content: counter(item) ") "; counter-increment: item; padding-right: 0.8em;} . – mmj. Jul 26, 2016 at 14:55. Add a ...
Read more >HTML List – How to Use Bullet Points, Ordered, and ...
For example, an ordered list can start with number 1, and continue through 2, 3, 4, and so on. Your ordered list can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For the case posted by @devuxer there’s a workaround: escape a dot like so
\\.
. Then it’s not recognised as a start of a sub-list. But of course a bit inconvenient.@djagya , Very helpful, thanks. For my actual page, I needed just a single backslash, so
This bug affects versions 1 __AND__ 2\. This should not be a new item.
(If I do\\.
a backslash actually appears before the period.)