question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inline links, which start with a number and a dot, are recognized as an ordered list

See original GitHub issue

Hi!

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:open
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
djagyacommented, Jul 14, 2021

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.

# Repro
1. Line 1.
2. Line 2. This bug affects versions 1 __AND__ 2\\. This should not be a new item.
3. Line 3.
0reactions
devuxercommented, Jul 14, 2021

@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.)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found