Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
godoc/static: replace innerHTML with textContent
Setting innerHTML is a more heavyweight operation that supports HTML. What's being done here doesn't use HTML, so it's viable to use the more lightweight textContent. Change-Id: I46e9359ffe776001836cc09fea88b04364870db7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/235577 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
- Loading branch information