summaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/renderer/html/html.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-06-17 08:10:11 +0000
committerLibravatar GitHub <noreply@github.com>2024-06-17 08:10:11 +0000
commit76d695d8475bdfcd8d72558105ca0cb263bcfa3f (patch)
treed4f47a38314d64b9cc424741b8268488435c62d3 /vendor/github.com/yuin/goldmark/renderer/html/html.go
parent[docs] Update roadmap (#3011) (diff)
downloadgotosocial-76d695d8475bdfcd8d72558105ca0cb263bcfa3f.tar.xz
[chore]: Bump github.com/yuin/goldmark from 1.7.1 to 1.7.2 (#3018)
Diffstat (limited to 'vendor/github.com/yuin/goldmark/renderer/html/html.go')
-rw-r--r--vendor/github.com/yuin/goldmark/renderer/html/html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/yuin/goldmark/renderer/html/html.go b/vendor/github.com/yuin/goldmark/renderer/html/html.go
index 75ac6dbfa..b1da368e0 100644
--- a/vendor/github.com/yuin/goldmark/renderer/html/html.go
+++ b/vendor/github.com/yuin/goldmark/renderer/html/html.go
@@ -445,7 +445,7 @@ func (r *Renderer) renderList(w util.BufWriter, source []byte, node ast.Node, en
_ = w.WriteByte('<')
_, _ = w.WriteString(tag)
if n.IsOrdered() && n.Start != 1 {
- fmt.Fprintf(w, " start=\"%d\"", n.Start)
+ _, _ = fmt.Fprintf(w, " start=\"%d\"", n.Start)
}
if n.Attributes() != nil {
RenderAttributes(w, n, ListAttributeFilter)