diff options
Diffstat (limited to 'markdown/ast_quote.go')
| -rw-r--r-- | markdown/ast_quote.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/markdown/ast_quote.go b/markdown/ast_quote.go index 3040636..ebd0527 100644 --- a/markdown/ast_quote.go +++ b/markdown/ast_quote.go @@ -11,10 +11,10 @@ type astQuote struct { source []*astParagraph } -func (a *astQuote) Eval() (template.HTML, *ParseError) { +func (a *astQuote) Eval(opt *Option) (template.HTML, *ParseError) { var quote template.HTML for _, c := range a.quote { - ct, err := c.Eval() + ct, err := c.Eval(opt) if err != nil { return "", err } @@ -23,7 +23,7 @@ func (a *astQuote) Eval() (template.HTML, *ParseError) { quote = template.HTML(fmt.Sprintf("<blockquote>%s</blockquote>", trimSpace(quote))) var source template.HTML for _, c := range a.source { - ct, err := c.Eval() + ct, err := c.Eval(opt) if err != nil { return "", err } |
