1
0
mirror of https://github.com/golang/go synced 2024-09-30 10:18:32 -06: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 godoc/static/analysis: update user documentation 2015-06-26 20:38:07 +00:00
images godoc/static: update jquery.treeview to 1.4.2 2020-03-12 15:35:18 +00:00
callgraph.html go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
dirlist.html go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
doc.go tools: add import comments. 2014-12-09 22:42:16 +00:00
error.html go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
example.html godoc: add GoogleCN property to pages 2017-08-02 21:09:52 +00:00
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 go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
jquery.js go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
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 go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
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 godoc: Add package identifiers to documentation indexing. 2014-01-06 13:26:25 -05:00
searchdoc.html go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
searchtxt.html godoc: add ability to change or disable the display of search results. 2014-01-06 09:51:01 -05:00
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