mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -110,7 +110,7 @@ func (r *htmlRenderer) renderPassthroughBlock(w util.BufWriter, src []byte, node
|
||||
case (*passthrough.PassthroughBlock):
|
||||
l := nn.Lines().Len()
|
||||
var buff bytes.Buffer
|
||||
for i := 0; i < l; i++ {
|
||||
for i := range l {
|
||||
line := nn.Lines().At(i)
|
||||
buff.Write(line.Value(src))
|
||||
}
|
||||
|
Reference in New Issue
Block a user