-
Notifications
You must be signed in to change notification settings - Fork 87
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
Bug: Paragraph blank lines
Not Behaving Uniformly with Different List Indicators and Types
#1014
Comments
Hey @liangzh-404 . I believe that logic is entirely based on the parser itself. Could you provide the source content and before and after? Spacing matters at the end of each line, so that could cause the discrepancy you are seeing. |
@pjkaufman test case I used
|
I took a look at the logic and I see the issue. This logic seems to have been written a ways back before we were properly handling all list types. It seems that it is properly recognizing ordered lists that start with numbers and have a period after them. But it is only looking for list items that start with |
Dev note: |
I believe that I have a simple fix for this since we already have regex to check this exact scenario in one go: |
Paragraph blank lines
Not Behaving Uniformly with Different List Indicators
Paragraph blank lines
Not Behaving Uniformly with Different List IndicatorsParagraph blank lines
Not Behaving Uniformly with Different List Indicators and Types
I have merged in the potential fix. It should be in the next release and on master. Please let us know if there are any issues with either of them. Thanks! |
before change:
after chagne
I personally think that the behavior of an ordered list makes more sense to me.
The text was updated successfully, but these errors were encountered: