aboutsummaryrefslogtreecommitdiff
path: root/markdown/ast_code.go
diff options
context:
space:
mode:
Diffstat (limited to 'markdown/ast_code.go')
-rw-r--r--markdown/ast_code.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/ast_code.go b/markdown/ast_code.go
index 85a3668..6980f32 100644
--- a/markdown/ast_code.go
+++ b/markdown/ast_code.go
@@ -25,7 +25,7 @@ type astCode struct {
codeType codeType
}
-func (a *astCode) Eval() (template.HTML, *ParseError) {
+func (a *astCode) Eval(_ *Option) (template.HTML, *ParseError) {
switch a.codeType {
case codeOneLine:
return template.HTML(fmt.Sprintf("<code>%s</code>", template.HTMLEscapeString(a.content))), nil