lib/kramdown/parser/kramdown/blockquote.rb in kramdown-0.6.0 vs lib/kramdown/parser/kramdown/blockquote.rb in kramdown-0.7.0

- old
+ new

@@ -28,10 +28,10 @@ BLOCKQUOTE_MATCH = /(^#{OPT_SPACE}>.*?\n)+/ # Parse the blockquote at the current location. def parse_blockquote result = @src.scan(BLOCKQUOTE_MATCH).gsub(BLOCKQUOTE_START, '') - el = Element.new(:blockquote) + el = new_block_el(:blockquote) @tree.children << el parse_blocks(el, result) true end define_parser(:blockquote, BLOCKQUOTE_START)