require 'wparser/block/pre' require 'wparser/block/blockquote' require 'wparser/block/list_number' require 'wparser/block/list_nonumber' module Block include Blocks def parse text @protected_preTag = nil parse_text = text.each_line.collect{|line| parse_line line} end private def parse_line line parse_line = line parse_line = Pre.parse parse_line if parse_line =~ /^