commit | 312450e473eae9f9e6173ad895c80bc5ea2f79ad | [log] [tgz] |
---|---|---|
author | Pukki <volentie@gmail.com> | Thu Mar 06 15:22:12 2025 -0300 |
committer | Gopher Robot <gobot@golang.org> | Wed Mar 12 15:46:46 2025 -0700 |
tree | 4f494065ee477e472636342aef9d79be9786a0bc | |
parent | 09731f9bf919b00b344c763894cd1920b3d96d90 [diff] |
html: ensure <search> tag closes <p> and update tests This change ensures that the <search> tag correctly closes an open <p> tag when encountered during parsing. Changes: - Added <search> to the list of elements that should close an open <p> tag in parse.go. - Updated the second list in parse.go to ensure consistency. - Updated html/atom/gen.go, table.go, and table_test.go accordingly. - Modified parse_test.go to use strings.Builder instead of bytes.Buffer. - Updated test error messages to follow Go’s conventions. - Fixed an accidental colon in the comment in parse.go. Change-Id: I5835da69f6bb0e14c483e55b7ae82915ae958dc1 Reviewed-on: https://go-review.googlesource.com/c/net/+/655457 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
This repository holds supplementary Go networking packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/net.
The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.