vmg / sundown

Standards compliant, fast, secure markdown processing library in C
1.99k stars 385 forks source link

Fix list #156

Closed klokane closed 7 years ago

klokane commented 7 years ago
Fix behavior for lists

there were diferent result (in sourcemap)
```
+ a
  b
+ c
```

and

```
+ a
  b

+ c
```

First one is parsed as "span" - both lines in one block
Second one was parsed with as "two line block"

This fix make same behavior for sourcemaps for both cases