~erock/pico

ea2a492731855b64206dbd486904e2fb6cfc8527 — Eric Bower a month ago 4bad293
fix(lists): fix nil pointer reference in parser
1 files changed, 1 insertions(+), 1 deletions(-)

M lists/parser.go
M lists/parser.go => lists/parser.go +1 -1
@@ 155,7 155,7 @@ func parseItem(meta *MetaData, li *ListItem, prevItem *ListItem, pre bool, mod i
		li.Value = trim

		pre, skip, _ = parseItem(meta, li, prevItem, pre, mod)
		if prevItem.Indent == 0 {
		if prevItem != nil && prevItem.Indent == 0 {
			mod = old - len(trim)
			li.Indent = 1
		} else {