Commit a181639
committed
fix: prevent multiplicative indentation in nested lists (#57)
Adds negative lookahead to prevent adding indentation before nested list items.
This fixes the multiplicative compounding bug where level 3 lists would get
6 spaces (2*3) instead of 4 spaces (2*2) with 2-space indent.1 parent cc0b233 commit a181639
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments