~lh2/htmltools

c2a9f79f6262dbdba4936d1b6486815047a6071d — Lukas Henkel 3 years ago 99f5d22 master v1.1.1
Fix htmlattr
1 files changed, 1 insertions(+), 1 deletions(-)

M cmd/htmlattr/main.go
M cmd/htmlattr/main.go => cmd/htmlattr/main.go +1 -1
@@ 30,7 30,7 @@ func main() {
			fmt.Fprintln(os.Stderr, "Document does not contain a body")
			os.Exit(1)
		}
		values, err := htmltools.Attr(attrs, htmltools.Children(doc)...)
		values, err := htmltools.Attr(attrs, htmltools.Children(body)...)
		if err != nil {
			fmt.Fprintf(os.Stderr, "%v\n", err)
			os.Exit(1)