Skip to content

Commit

Permalink
Make first list marker available for processor.
Browse files Browse the repository at this point in the history
  • Loading branch information
cabo authored and gettalong committed Mar 13, 2022
1 parent 91351f1 commit 0bc9c85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/kramdown/parser/kramdown/list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def parse_list
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])
Expand Down

0 comments on commit 0bc9c85

Please sign in to comment.