require 'wparser/parser' module Blocks class List_nonumber < Parse def self.parse line rex = /^\*\s*(\w*)/ @result = if line =~ rex and @list_flag == nil @list_flag = true line.sub(rex, "#{line}\n" end super end end end