Update dependencies and build to go1.22 (#2113)
* Update dependencies and build to go1.22 * Fix api changes wrt to dependencies * Update golangci config
This commit is contained in:
5
vendor/github.com/gomarkdown/markdown/parser/citation.go
generated
vendored
5
vendor/github.com/gomarkdown/markdown/parser/citation.go
generated
vendored
@@ -65,6 +65,11 @@ func citation(p *Parser, data []byte, offset int) (int, ast.Node) {
|
||||
}
|
||||
|
||||
citeType := ast.CitationTypeInformative
|
||||
|
||||
if len(citation) < 2 {
|
||||
continue
|
||||
}
|
||||
|
||||
j = 1
|
||||
switch citation[j] {
|
||||
case '!':
|
||||
|
||||
Reference in New Issue
Block a user