-
Notifications
You must be signed in to change notification settings - Fork 525
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
Tab character no longer working for nested lists #376
Comments
Thanks for your report, I will look into this, the commit you are referring to follows an update to commonmark 0.13.2 from 0.13.0 which contains the following PR : thephpleague/commonmark#234 This seems to change the behaviour with tabs. Can you please provide me the example as a gist so I can make further tests with it ? |
I've attached a basic example. The tab character was previously treated the same as four spaces, allowing sub list items to be defined as demonstrated in the attachment. In the same example, I also included a sub list item defined with four spaces to allow a comparison. |
I opened an issue directly in the commonmark project about this : thephpleague/commonmark#258 We'll see what they can do about it |
Okay so this error is fixed in commonmark, I will close this once the fix is released. |
I created the following pull requests to them: webuni/commonmark-twig-renderer#3 |
@onigoetz I published a new version of |
Awesome, thanks @hason |
Steps to reproduce:
except the first one in a list.
Expected result:
The edited line should be indented one level.
Actual result:
The edited line is appended to the end of the previous line, with the *
character rendered literally, not as a bullet.
Additional information:
This was introduced by commit 9a615ea.
Is this an intended deprecation of tabs or was this behaviour introduced by
accident? I realize tabs aren't officially supported in markdown, but our team
also edits in gitlab, which does support tabs. It'd be great if tabs were still
accepted here.
My environment:
The text was updated successfully, but these errors were encountered: