marked icon indicating copy to clipboard operation
marked copied to clipboard

Breaking change of leading tab in unordered list

Open ErazerBrecht opened this issue 2 years ago • 0 comments

What pain point are you perceiving?. When using 2 leading tabs in a list it starts seeing it as a code block. Which could make sense But starting from 4.0.15 it also places them on another level which I really can't explain.

Marked has introduced this breaking change between version 4.0.13 & 4.0.14, and 4.0.15 makes it even worse. Caused by #2434

Working example 4.0.13 Broken example 4.0.14 Even more broken example 4.0.15

Describe the solution you'd like A solution where it keeps working as it used to. I checked GitHub and they seem to ignore the tabs. CommonMark seems to agree this is wrong. Dillinger also ignores it.

ErazerBrecht avatar Jun 27 '22 19:06 ErazerBrecht