mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: use HTML5 br tags
In HTML5 br tags don't need a closing slash
Change-Id: Ic53c43faee08c5b1267daa9a02cc186b1c255ca1
GitHub-Last-Rev: 6522081169
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>
This commit is contained in:
parent
73eb27bd3b
commit
8e725f8452
6 changed files with 23 additions and 23 deletions
|
|
@ -940,7 +940,7 @@ func (m mapper) Token() (Token, error) {
|
|||
}
|
||||
|
||||
func TestNewTokenDecoderIdempotent(t *testing.T) {
|
||||
d := NewDecoder(strings.NewReader(`<br/>`))
|
||||
d := NewDecoder(strings.NewReader(`<br>`))
|
||||
d2 := NewTokenDecoder(d)
|
||||
if d != d2 {
|
||||
t.Error("NewTokenDecoder did not detect underlying Decoder")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue