diff --git a/block.go b/block.go index f7d5c3d..de84da5 100644 --- a/block.go +++ b/block.go @@ -893,7 +893,7 @@ func (p *parser) quotePrefix(data []byte) int { // blockquote ends with at least one blank line // followed by something without a blockquote prefix -func terminateBlockquote(p *parser, data []byte, beg, end int) bool { +func (p *parser) terminateBlockquote(data []byte, beg, end int) bool { if p.isEmpty(data[beg:]) <= 0 { return false } @@ -927,7 +927,7 @@ func (p *parser) quote(out *bytes.Buffer, data []byte) int { if pre := p.quotePrefix(data[beg:]); pre > 0 { // skip the prefix beg += pre - } else if terminateBlockquote(p, data, beg, end) { + } else if p.terminateBlockquote(data, beg, end) { break } diff --git a/markdown.go b/markdown.go index 76f4dc5..a4e7bd3 100644 --- a/markdown.go +++ b/markdown.go @@ -385,7 +385,6 @@ func MarkdownOptions(input []byte, renderer Renderer, opts Options) []byte { // - expand tabs // - normalize newlines // - copy everything else -// - add missing newlines before fenced code blocks func firstPass(p *parser, input []byte) []byte { var out bytes.Buffer tabSize := TAB_SIZE_DEFAULT