aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/html.go
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@gmail.com>2021-03-05 01:53:00 +0000
committerEmmanuel Odeke <emmanuel@orijtech.com>2021-03-13 03:38:42 +0000
commit8e725f8452ac0ece548837a95d125bc67b9d8828 (patch)
tree572e9b368ca7531e13c71bb5ee9942a1a08d01e8 /src/cmd/compile/internal/ssa/html.go
parent73eb27bd3bdf727347a5e4d7d369d92f712f5ab5 (diff)
downloadgo-8e725f8452ac0ece548837a95d125bc67b9d8828.tar.gz
go-8e725f8452ac0ece548837a95d125bc67b9d8828.zip
all: use HTML5 br tags
In HTML5 br tags don't need a closing slash Change-Id: Ic53c43faee08c5b1267daa9a02cc186b1c255ca1 GitHub-Last-Rev: 652208116944d01b23b8af8f1af485da5e916d32 GitHub-Pull-Request: golang/go#44283 Reviewed-on: https://go-review.googlesource.com/c/go/+/292370 Reviewed-by: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/html.go')
-rw-r--r--src/cmd/compile/internal/ssa/html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/html.go b/src/cmd/compile/internal/ssa/html.go
index c06b5808e1..4d191199fb 100644
--- a/src/cmd/compile/internal/ssa/html.go
+++ b/src/cmd/compile/internal/ssa/html.go
@@ -1064,7 +1064,7 @@ func (f *Func) HTML(phase string, dot *dotWriter) string {
p := htmlFuncPrinter{w: buf}
fprintFunc(p, f)
- // fprintFunc(&buf, f) // TODO: HTML, not text, <br /> for line breaks, etc.
+ // fprintFunc(&buf, f) // TODO: HTML, not text, <br> for line breaks, etc.
fmt.Fprint(buf, "</code>")
return buf.String()
}