-
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent unnecessary escaping of numbers
When a line starts with a number that ends with a period, e.g. `1984.`, it needs to be escaped, as otherwise markdown interprets it as a list. However, if a line begins with a number that includes a period in it, e.g. `1984.5`, it does not need to be escaped, as it won't be interpreted as a list.
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,6 @@ | |
|
||
<p>1984. Was great!</p> | ||
|
||
<p>1984.5 is not a book.</p> | ||
|
||
<p>- This too!</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,6 @@ I have read the book 1984. | |
|
||
1984\. Was great! | ||
|
||
1984.5 is not a book. | ||
|
||
\- This too! |