Item price support

This commit is contained in:
2026-03-05 22:45:55 -06:00
parent 4282c2a770
commit d920a1e62d
15 changed files with 834 additions and 26 deletions

View File

@@ -381,7 +381,7 @@ func (w *walker) renderListItem(n *html.Node) {
ctx := &w.listCtx[len(w.listCtx)-1]
if ctx.ordered {
ctx.index++
w.sb.WriteString(fmt.Sprintf("%s%d. ", indent, ctx.index))
fmt.Fprintf(&w.sb, "%s%d. ", indent, ctx.index)
} else {
w.sb.WriteString(indent + "- ")
}