forked from lug/matterbridge
Update dependencies and fix whatsmeow API changes (#1887)
* Update dependencies * Fix whatsmau API changes
This commit is contained in:
10
vendor/github.com/gomarkdown/markdown/parser/block.go
generated
vendored
10
vendor/github.com/gomarkdown/markdown/parser/block.go
generated
vendored
@@ -909,18 +909,18 @@ func syntaxRange(data []byte, iout *int) (int, int) {
|
||||
|
||||
// strip all whitespace at the beginning and the end
|
||||
// of the {} block
|
||||
for syn > 0 && isSpace(data[syntaxStart]) {
|
||||
for syn > 0 && IsSpace(data[syntaxStart]) {
|
||||
syntaxStart++
|
||||
syn--
|
||||
}
|
||||
|
||||
for syn > 0 && isSpace(data[syntaxStart+syn-1]) {
|
||||
for syn > 0 && IsSpace(data[syntaxStart+syn-1]) {
|
||||
syn--
|
||||
}
|
||||
|
||||
i++
|
||||
} else {
|
||||
for i < n && !isSpace(data[i]) {
|
||||
for i < n && !IsSpace(data[i]) {
|
||||
syn++
|
||||
i++
|
||||
}
|
||||
@@ -1767,7 +1767,7 @@ func skipUntilChar(data []byte, i int, c byte) int {
|
||||
|
||||
func skipAlnum(data []byte, i int) int {
|
||||
n := len(data)
|
||||
for i < n && isAlnum(data[i]) {
|
||||
for i < n && IsAlnum(data[i]) {
|
||||
i++
|
||||
}
|
||||
return i
|
||||
@@ -1775,7 +1775,7 @@ func skipAlnum(data []byte, i int) int {
|
||||
|
||||
func skipSpace(data []byte, i int) int {
|
||||
n := len(data)
|
||||
for i < n && isSpace(data[i]) {
|
||||
for i < n && IsSpace(data[i]) {
|
||||
i++
|
||||
}
|
||||
return i
|
||||
|
||||
Reference in New Issue
Block a user