summaryrefslogtreecommitdiffstats
path: root/markup
diff options
context:
space:
mode:
authorNiklas Fasching <niklas.fasching@gmail.com>2023-03-12 11:31:05 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-03-12 12:38:12 +0100
commit1c841ec914aa12f6cd354ddf929ac76c5397236e (patch)
tree320fec931fdbbb44466af1b905313eaf592edf00 /markup
parente7148f335fabf0170b8158d39cd2ea95bc04fd7e (diff)
deps: Update go-org to v1.6.6
among other things, fixes a race condition in html writer and bug preventing explicit line breaks immediately following emphasis
Diffstat (limited to 'markup')
-rw-r--r--markup/org/convert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/org/convert.go b/markup/org/convert.go
index a08453e94..802b9aa5a 100644
--- a/markup/org/convert.go
+++ b/markup/org/convert.go
@@ -51,7 +51,7 @@ func (c *orgConverter) Convert(ctx converter.RenderContext) (converter.ResultRen
return afero.ReadFile(c.cfg.ContentFs, filename)
}
writer := org.NewHTMLWriter()
- writer.HighlightCodeBlock = func(source, lang string, inline bool) string {
+ writer.HighlightCodeBlock = func(source, lang string, inline bool, params map[string]string) string {
highlightedSource, err := c.cfg.Highlight(source, lang, "")
if err != nil {
logger.Errorf("Could not highlight source as lang %s. Using raw source.", lang)