summaryrefslogtreecommitdiffstats
path: root/modules/markup/markdown/goldmark.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-03-18 03:25:52 +0000
committerGitHub <noreply@github.com>2021-03-18 04:25:52 +0100
commit71aca93decc10253133dcd77b64dae5d311d7163 (patch)
treed9c342e932d2fa925bd076a19880c37734254a35 /modules/markup/markdown/goldmark.go
parent119d2cb6e4abb4da90f0da6c908d52e4c26a49a4 (diff)
downloadgitea-71aca93decc10253133dcd77b64dae5d311d7163.tar.gz
gitea-71aca93decc10253133dcd77b64dae5d311d7163.zip
Remove extraneous logging (#15020)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/markup/markdown/goldmark.go')
-rw-r--r--modules/markup/markdown/goldmark.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/markup/markdown/goldmark.go b/modules/markup/markdown/goldmark.go
index 0b6ea222d9..07e2e36e1d 100644
--- a/modules/markup/markdown/goldmark.go
+++ b/modules/markup/markdown/goldmark.go
@@ -10,7 +10,6 @@ import (
"regexp"
"strings"
- "code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/markup"
"code.gitea.io/gitea/modules/markup/common"
"code.gitea.io/gitea/modules/setting"
@@ -139,10 +138,6 @@ func (g *ASTTransformer) Transform(node *ast.Document, reader text.Reader, pc pa
// But most importantly ensure the next sibling is still on the old image too
v.SetNextSibling(next)
-
- } else {
- log.Debug("ast.Image: %s has parent: %v", link, parent)
-
}
case *ast.Link:
// Links need their href to munged to be a real value