deps: Update Goldmark

Closes https://github.com/yuin/goldmark/issues/36#event-2832923993
This commit is contained in:
Bjørn Erik Pedersen
2019-11-25 18:41:46 +01:00
parent 25a6b33693
commit b0c7749fa1
3 changed files with 5 additions and 6 deletions

View File

@@ -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)
}
}()