mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
deps: Update Goldmark
Closes https://github.com/yuin/goldmark/issues/36#event-2832923993
This commit is contained in:
@@ -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)
|
||||
|
||||
}
|
||||
}()
|
||||
|
||||
|
Reference in New Issue
Block a user