diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-05-23 16:31:36 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-06-01 17:59:44 +0200 |
commit | 382c726e63b9adb8d7e38c80e03e404767925eba (patch) | |
tree | bcd0b4d76beec5e3cb03bc7f740a90e228723b60 /tpl | |
parent | 4c46f9400b91a205361210e8eb0c1718784ec8f2 (diff) |
markup: Fix typo in function and struct names
Diffstat (limited to 'tpl')
-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 0f9ad61d4..d943b0b57 100644 --- a/tpl/transform/transform.go +++ b/tpl/transform/transform.go @@ -81,7 +81,7 @@ func (ns *Namespace) Highlight(s any, lang string, opts ...any) (template.HTML, } // HighlightCodeBlock highlights a code block on the form received in the codeblock render hooks. -func (ns *Namespace) HighlightCodeBlock(ctx hooks.CodeblockContext, opts ...any) (highlight.HightlightResult, error) { +func (ns *Namespace) HighlightCodeBlock(ctx hooks.CodeblockContext, opts ...any) (highlight.HighlightResult, error) { var optsv any if len(opts) > 0 { optsv = opts[0] |