diff options
Diffstat (limited to 'tpl/transform/transform.go')
-rw-r--r-- | tpl/transform/transform.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/transform/transform.go b/tpl/transform/transform.go index 7054c6988..5ef9bff21 100644 --- a/tpl/transform/transform.go +++ b/tpl/transform/transform.go @@ -167,7 +167,7 @@ func (ns *Namespace) Markdownify(ctx context.Context, s any) (template.HTML, err } // Strip if this is a short inline type of text. - bb := ns.deps.ContentSpec.TrimShortHTML([]byte(ss)) + bb := ns.deps.ContentSpec.TrimShortHTML([]byte(ss), "markdown") return helpers.BytesToHTML(bb), nil } |