You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a bug when mixing tabs and spaces for indentation. According to the spec,
in contexts where indentation is significant for the document’s structure, tabs behave as if they were replaced by spaces with a tab stop of 4 characters.
When I try
- 1 space
- 3 spaces
- 5 spaces
- tab + space
the result is equivalent to
1 space
3 spaces
5 spaces
tab + space
but when I change the order of the last two lines
- 1 space
- 3 spaces
- tab + space
- 5 spaces
I get
1 space
3 spaces
tab + space
5 spaces
Not only does it completely change the structure of the list depending on the order of the items, but both cases differ from what I would have expected and what I see in the editor (with tabstop=4):
1 space
3 spaces
tab + space (or 5 spaces)
5 spaces (or tab + space)
The text was updated successfully, but these errors were encountered:
There seems to be a bug when mixing tabs and spaces for indentation. According to the spec,
When I try
the result is equivalent to
but when I change the order of the last two lines
I get
Not only does it completely change the structure of the list depending on the order of the items, but both cases differ from what I would have expected and what I see in the editor (with tabstop=4):
The text was updated successfully, but these errors were encountered: