Incorrect sourcemap for headings followed by a text
Some cases of headings followed by some text result in incorrect sourcemaps. HTML is simplified for brevity.
Markdown | Rendered HTML (current) | Rendered HTML (expected) |
---|---|---|
|
|
|
|
|
|
The sourcemap of the headings in the two cases should be 1:1-2:3
instead of 1:1-3:3
.
Edited by Himanshu Kapoor