diff options
Diffstat (limited to 'markdown/ast_modifier.go')
| -rw-r--r-- | markdown/ast_modifier.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/ast_modifier.go b/markdown/ast_modifier.go index 205786a..909d25e 100644 --- a/markdown/ast_modifier.go +++ b/markdown/ast_modifier.go @@ -26,10 +26,10 @@ type astModifier struct { super bool } -func (a *astModifier) Eval() (template.HTML, *ParseError) { +func (a *astModifier) Eval(opt *Option) (template.HTML, *ParseError) { var content template.HTML for _, c := range a.content { - ct, err := c.Eval() + ct, err := c.Eval(opt) if err != nil { return "", &ParseError{lxs: lexers{}, internal: err} } |
