summaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/renderer
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-07-01 13:41:55 +0200
committerLibravatar GitHub <noreply@github.com>2024-07-01 13:41:55 +0200
commit9c44d6aa4740be3c9bdc8f1bfb59faa2d077e0b5 (patch)
tree358e7755d3e06753523f92d4b86d08de8e7b2c61 /vendor/github.com/yuin/goldmark/renderer
parent[bugfix] update SignupURL routing in email template. (#3055) (diff)
downloadgotosocial-9c44d6aa4740be3c9bdc8f1bfb59faa2d077e0b5.tar.xz
[chore]: Bump github.com/yuin/goldmark from 1.7.3 to 1.7.4 (#3059)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.3 to 1.7.4. - [Release notes](https://github.com/yuin/goldmark/releases) - [Commits](https://github.com/yuin/goldmark/compare/v1.7.3...v1.7.4) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/yuin/goldmark/renderer')
-rw-r--r--vendor/github.com/yuin/goldmark/renderer/html/html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/yuin/goldmark/renderer/html/html.go b/vendor/github.com/yuin/goldmark/renderer/html/html.go
index f9521d0fa..9ebd0a371 100644
--- a/vendor/github.com/yuin/goldmark/renderer/html/html.go
+++ b/vendor/github.com/yuin/goldmark/renderer/html/html.go
@@ -779,7 +779,7 @@ func (r *Renderer) renderAttribute(w util.BufWriter, source []byte, n ast.Node)
} else if !c.HasChildren() {
r.Writer.Write(w, c.Text(source))
if t, ok := c.(*ast.Text); ok && t.SoftLineBreak() {
- w.WriteByte('\n')
+ _ = w.WriteByte('\n')
}
} else {
r.renderAttribute(w, source, c)