From 4091b6f6b4fe01876f8720332675f9c69be39541 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 30 May 2021 00:25:30 +0200 Subject: Update vendor (#1498) --- vendor/github.com/gomarkdown/markdown/parser/block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/gomarkdown') diff --git a/vendor/github.com/gomarkdown/markdown/parser/block.go b/vendor/github.com/gomarkdown/markdown/parser/block.go index cec667b5..95438174 100644 --- a/vendor/github.com/gomarkdown/markdown/parser/block.go +++ b/vendor/github.com/gomarkdown/markdown/parser/block.go @@ -1221,7 +1221,7 @@ func (p *Parser) tableRow(data []byte, columns []ast.CellAlignFlags, header bool // skip the end-of-cell marker, possibly taking us past end of buffer // each _extra_ | means a colspan - for data[i] == '|' && !isBackslashEscaped(data, i) { + for i < len(data) && data[i] == '|' && !isBackslashEscaped(data, i) { i++ colspan++ } -- cgit v1.2.3