summaryrefslogtreecommitdiffstats
path: root/markup
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-11-25 18:41:46 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-11-26 23:51:31 +0100
commitb0c7749fa1efca04839b767e1d48d617f3556867 (patch)
tree23b35a76bd6169bd974a5e3a2c478b4871c243fa /markup
parent25a6b33693992e8c6d9c35bc1e781ce3e2bca4be (diff)
deps: Update Goldmark
Closes https://github.com/yuin/goldmark/issues/36#event-2832923993
Diffstat (limited to 'markup')
-rw-r--r--markup/goldmark/convert.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/markup/goldmark/convert.go b/markup/goldmark/convert.go
index cb9b24ff8..167286831 100644
--- a/markup/goldmark/convert.go
+++ b/markup/goldmark/convert.go
@@ -18,6 +18,7 @@ import (
"bytes"
"fmt"
"path/filepath"
+ "runtime/debug"
"github.com/pkg/errors"
@@ -158,8 +159,8 @@ func (c *goldmarkConverter) Convert(ctx converter.RenderContext) (result convert
name := fmt.Sprintf("goldmark_%s.txt", c.ctx.DocumentID)
filename := filepath.Join(dir, name)
afero.WriteFile(hugofs.Os, filename, ctx.Src, 07555)
+ fmt.Print(string(debug.Stack()))
err = errors.Errorf("[BUG] goldmark: %s: create an issue on GitHub attaching the file in: %s", r, filename)
-
}
}()