1
0
mirror of https://github.com/golang/go synced 2024-11-18 04:54:49 -07:00
go/godoc/static
Muhammad Hamza Farrukh 76a6aac657 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>
2020-09-03 15:36:55 +00:00
..
analysis
images godoc/static: update jquery.treeview to 1.4.2 2020-03-12 15:35:18 +00:00
callgraph.html
dirlist.html
doc.go
error.html
example.html
gen_test.go all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
gen.go godoc/static: update copyright year to 2013 2020-01-02 16:51:58 +00:00
godoc.html cmd/godoc, godoc/static: remove remnants of golang.org website 2019-11-20 19:55:55 +00:00
godocs.js all: run prettier on js and css 2020-05-28 15:31:44 +00:00
implements.html
jquery.js
jquery.treeview.css godoc/static: update jquery.treeview to 1.4.2 2020-03-12 15:35:18 +00:00
jquery.treeview.edit.js godoc/static: update jquery.treeview to 1.4.2 2020-03-12 15:35:18 +00:00
jquery.treeview.js godoc/static: update jquery.treeview to 1.4.2 2020-03-12 15:35:18 +00:00
makestatic.go godoc/static: add test for static.go file generation 2018-05-03 19:34:25 +00:00
methodset.html
package.html godoc/static: re-add "or" function call to package.html template 2019-11-26 05:54:41 +00:00
packageroot.html godoc/vfs: improve implementation of RootType 2018-04-11 20:41:25 +00:00
play.js present: fix newline parsing for go present 2020-09-03 15:36:55 +00:00
playground.js all: run prettier on js and css 2020-05-28 15:31:44 +00:00
search.html godoc: generate TOC from server-side for search page 2018-10-19 20:12:13 +00:00
searchcode.html
searchdoc.html
searchtxt.html
static.go present: fix newline parsing for go present 2020-09-03 15:36:55 +00:00
style.css all: run prettier on js and css 2020-05-28 15:31:44 +00:00