aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/parser/list_item.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-06-09 21:09:39 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-06-09 21:09:39 +0200
commit6903a774ecbbd05596adda5e2b5e18d58dd3a8f9 (patch)
treef5d48f52f0da3da8d829436519bc66652bf41c64 /vendor/github.com/yuin/goldmark/parser/list_item.go
parente75d9e371269a4e46bffa6b3dd1fc7d040e82750 (diff)
downloadgofu-6903a774ecbbd05596adda5e2b5e18d58dd3a8f9.tar.gz
bump all dependencies to their latest versions
Diffstat (limited to 'vendor/github.com/yuin/goldmark/parser/list_item.go')
-rw-r--r--vendor/github.com/yuin/goldmark/parser/list_item.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/yuin/goldmark/parser/list_item.go b/vendor/github.com/yuin/goldmark/parser/list_item.go
index f4d7da4..9bef62e 100644
--- a/vendor/github.com/yuin/goldmark/parser/list_item.go
+++ b/vendor/github.com/yuin/goldmark/parser/list_item.go
@@ -28,7 +28,7 @@ func (b *listItemParser) Open(parent ast.Node, reader text.Reader, pc Context) (
}
offset := lastOffset(list)
line, _ := reader.PeekLine()
- match, typ := matchesListItem(line, false)
+ match, typ := parseListItem(line)
if typ == notList {
return nil, NoChildren
}
@@ -61,7 +61,7 @@ func (b *listItemParser) Continue(node ast.Node, reader text.Reader, pc Context)
isEmpty := node.ChildCount() == 0 && pc.Get(emptyListItemWithBlankLines) != nil
indent, _ := util.IndentWidth(line, reader.LineOffset())
if (isEmpty || indent < offset) && indent < 4 {
- _, typ := matchesListItem(line, true)
+ _, typ := parseListItem(line)
// new list item found
if typ != notList {
pc.Set(skipListParserKey, listItemFlagValue)