lib/kramdown/parser/kramdown/list.rb in kramdown-2.3.1 vs lib/kramdown/parser/kramdown/list.rb in kramdown-2.3.2
- old
+ new
@@ -67,9 +67,10 @@
break
elsif @src.scan(EOB_MARKER)
eob_found = true
break
elsif @src.scan(list_start_re)
+ list.options[:first_list_marker] ||= @src[1].strip
item = Element.new(:li, nil, nil, location: start_line_number)
item.value, indentation, content_re, lazy_re, indent_re =
parse_first_list_line(@src[1].length, @src[2])
list.children << item