lib/rabbit/parser/rd/ext/block-verbatim.rb in rabbit-1.0.4 vs lib/rabbit/parser/rd/ext/block-verbatim.rb in rabbit-1.0.5

- old
+ new

@@ -134,10 +134,10 @@ rt_visitor = RT2RabbitVisitor.new(visitor) rt_visitor.visit(RT::RTParser.parse(content)) end def ext_block_verb_block_quote(label, source, content, visitor) - return nil unless /^blockquote$/i =~ label + return nil unless /^block[_-]?quote$/i =~ label src, prop = parse_source(source) tree = ::RD::RDTree.new("=begin\n#{src}\n=end\n") elems = tree.root.children.collect do |child| child.accept(visitor) end