summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/html/render.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/net/html/render.go')
-rw-r--r--vendor/golang.org/x/net/html/render.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/net/html/render.go b/vendor/golang.org/x/net/html/render.go
index e8c123345..0157d89e1 100644
--- a/vendor/golang.org/x/net/html/render.go
+++ b/vendor/golang.org/x/net/html/render.go
@@ -184,7 +184,7 @@ func render1(w writer, n *Node) error {
return err
}
- // Add initial newline where there is danger of a newline beging ignored.
+ // Add initial newline where there is danger of a newline being ignored.
if c := n.FirstChild; c != nil && c.Type == TextNode && strings.HasPrefix(c.Data, "\n") {
switch n.Data {
case "pre", "listing", "textarea":