Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
krmpotic committed Feb 9, 2021
1 parent 5f4716e commit d036481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type writer interface {
// re-parsed, results in a different tree. A simple example is that a solitary
// text node would become a tree containing <html>, <head> and <body> elements.
// Another example is that the programmatic equivalent of "a<head>b</head>c"
// becomes "<html><head><head/><body>abc</body></html>".
// becomes "<html><head></head><body>abc</body></html>".
func Render(w io.Writer, n *Node) error {
if x, ok := w.(writer); ok {
return render(x, n)
Expand Down

0 comments on commit d036481

Please sign in to comment.