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
According to the GFM spec, "in contexts where whitespace helps to define block structure, tabs behave as if they were replaced by spaces with a tab stop of 4 characters."
Version: Markdown-it v12.0.0
Description
Consider the following Markdown source: a table inside a nested list. Each line of the table is indented by two consecutive tabs.
What is expected (Github's implementation)
Level 1
Level 2
What actually happens
It seems that the first 4 characters of each line after the tabs (
| Co
,| ab
) is removed.Demonstration of the bug @ https://markdown-it.github.io/
Discussions
According to the GFM spec, "in contexts where whitespace helps to define block structure, tabs behave as if they were replaced by spaces with a tab stop of 4 characters."
If every tab is replaced with 4 whitespaces, Markdown-it correctly renders the table.
The text was updated successfully, but these errors were encountered: