undefined: html
Closed this issue · 4 comments
pjlsergeant commented
On a virgin install, I'm getting:
Step 17 : RUN go get github.com/JalfResi/justext
---> Running in d96f0b8fa226
# github.com/JalfResi/justext
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:28: undefined: html in html.Node
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:32: undefined: html in html.TextNode
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:33: undefined: html in html.EscapeString
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:35: undefined: html in html.ElementNode
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:35: undefined: html in html.DoctypeNode
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:55: undefined: html in html.DocumentNode
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:62: undefined: html in html.CommentNode
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:71: undefined: html in html.Node
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:73: undefined: html in html.ErrorNode
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:75: undefined: html
gopath/src/github.com/JalfResi/justext/htmlRenderer.go:75: too many errors
Go: go version go1.5.4 linux/amd64
.
I know almost no Go, but I gotta say this looks suspicious: d7ad093#diff-c8c481deb6eb50c734628d98f99e8ce7L5
JalfResi commented
Think you might be on to something there! That'll teach me to approve a pull request on my phone without testing it!
I'll try and get a patch together today
pjlsergeant commented
Great, looking forward to this patch landing!
pjlsergeant commented
poke
JalfResi commented
Thanks to the support of IngCr3at1on with his quick pull request this issue has been resolved. Apologies for not sorting this out myself sooner.