diff options
Diffstat (limited to 'vendor/github.com/yuin/goldmark/renderer/html/html.go')
-rw-r--r-- | vendor/github.com/yuin/goldmark/renderer/html/html.go | 2 |
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) |