Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Markdown: Corner case with number and fullstop #47

Closed
uliska opened this issue Apr 3, 2016 · 1 comment
Closed

Markdown: Corner case with number and fullstop #47

uliska opened this issue Apr 3, 2016 · 1 comment

Comments

@uliska
Copy link

uliska commented Apr 3, 2016

Reflow should avoid the following situation in Markdown:

This is a sentence ending with the number 17. If it is broken before the number Markdown will interpret it as an enumeration.

=>
This is a sentence ending with the number
17. If it is broken before the number Markdown
will interpret it as an enumeration.

=> Equivalent to:
This is a sentence ending with the number

1. If it is broken 

Required solution: If the first token after the inserted break would be a number with an appended dot the line should be broken one token earlier.

@daviwil
Copy link
Contributor

daviwil commented Sep 11, 2018

This issue was moved to atom/atom#18023

@daviwil daviwil closed this as completed Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants