1
0
html/indent.go

11 lines
204 B
Go
Raw Permalink Normal View History

2025-10-05 21:25:53 +02:00
package html
import (
2025-11-01 21:23:56 +01:00
"code.squareroundforest.org/arpio/textedit"
2025-10-05 21:25:53 +02:00
"io"
)
2025-11-01 21:23:56 +01:00
func newIndentWriter(out io.Writer, indent string) *textedit.Writer {
return textedit.New(out, textedit.Indent("", indent))
2025-10-05 21:25:53 +02:00
}