aboutsummaryrefslogtreecommitdiffstats
path: root/modules/markup
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-04-27 01:01:06 +0100
committerGitHub <noreply@github.com>2020-04-26 21:01:06 -0300
commit0e799c26ba322e8e1dd1e5acd1367341c0452987 (patch)
tree4fef486d5db4e7463563bf3ba327bd9f906ba11b /modules/markup
parent9f959ac0641821148e46d0899b74cc714c858879 (diff)
downloadgitea-0e799c26ba322e8e1dd1e5acd1367341c0452987.tar.gz
gitea-0e799c26ba322e8e1dd1e5acd1367341c0452987.zip
Prevent panic during wrappedConn close at hammertime (#11219)
* Prevent panic during wrappedConn close at hammertime Signed-off-by: Andrew Thornton <art27@cantab.net> * Update modules/graceful/server.go * Fix extraneous debug in goldmark.go Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/markup')
-rw-r--r--modules/markup/markdown/goldmark.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/markup/markdown/goldmark.go b/modules/markup/markdown/goldmark.go
index 8974504a79..6a40a86836 100644
--- a/modules/markup/markdown/goldmark.go
+++ b/modules/markup/markdown/goldmark.go
@@ -328,7 +328,6 @@ func (r *HTMLRenderer) renderIcon(w util.BufWriter, source []byte, node ast.Node
func (r *HTMLRenderer) renderTaskCheckBoxListItem(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error) {
n := node.(*TaskCheckBoxListItem)
if entering {
- n.Dump(source, 0)
if n.Attributes() != nil {
_, _ = w.WriteString("<li")
html.RenderAttributes(w, n, html.ListItemAttributeFilter)