Item price support
This commit is contained in:
@@ -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 + "- ")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user