lib/flannel/block.treetop in flannel-0.2.10 vs lib/flannel/block.treetop in flannel-0.2.11

- old
+ new

@@ -14,11 +14,11 @@ end } end rule block_header - block_start block_type block_id parent_id? attribute_list? [\n]* { + block_start block_type block_id? parent_id? attribute_list? [\n]* { def content elements.map{ |element| element.respond_to?(:content) ? element.content : nil}.compact end } end @@ -38,11 +38,11 @@ end } end rule block_type - ( paragraph / feed / preformatted / list / header ) { + ( paragraph / feed / preformatted / list / header / blockquote ) { def content [:block_type, text_value.to_sym ] end } end @@ -77,10 +77,12 @@ rule header_six "header_six" { def content; text_value; end } end - + rule blockquote + "blockquote" { def content; text_value; end } + end rule feed "feed" { def content; text_value; end } end \ No newline at end of file