commit | 76a6aac657c733d8b9c72f360162afa2fbd0acb0 | [log] [tgz] |
---|---|---|
author | Muhammad Hamza Farrukh <hamzafarrukh141@gmail.com> | Sun Aug 30 17:00:24 2020 -0400 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Thu Sep 03 15:36:55 2020 +0000 |
tree | 75c08eb3e08f7ca08b65ccb268b3dedec8360dba | |
parent | 2364a5e8fdcfea4b60a58838bcdf0a007a62bf15 [diff] |
present: fix newline parsing for go present Pressing enter on editable go present code adds a new 'pre' html tag which isn't being handled properly. This fix in play.js adds a newline to the html is being parsed whenever it sees a 'pre' tag. Fixes golang/go#41139 Change-Id: I042d13999f4a8518fb282c4c5bfb3a5197215449 Reviewed-on: https://go-review.googlesource.com/c/tools/+/251697 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.