diff options
Diffstat (limited to 'mardown/ast_quote.go')
| -rw-r--r-- | mardown/ast_quote.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mardown/ast_quote.go b/mardown/ast_quote.go index 101b854..5ed1208 100644 --- a/mardown/ast_quote.go +++ b/mardown/ast_quote.go @@ -20,8 +20,7 @@ func (a *astQuote) Eval() (template.HTML, error) { } quote += ct } - quote = template.HTML(strings.TrimSpace(string(quote))) - quote = template.HTML(fmt.Sprintf("<blockquote>%s</blockquote>", quote)) + quote = template.HTML(fmt.Sprintf("<blockquote>%s</blockquote>", trimSpace(quote))) var source template.HTML for _, c := range a.source { ct, err := c.Eval() |
