From: Martin Hart Date: 2004-02-22T00:27:00+09:00 Subject: Minor bug in RedCloth (?) Hi all, just had RedCloth barf on me with a fairly large document and a bullet list at the end of it. The error was "Exception `NoMethodError' at /usr/local/lib/ruby/site_ruby/1.8/redcloth.rb:376 - private method `gsub' called for nil:NilClass" Changing line 376 of redcloth.rb from: nl = nextline.gsub( /^([#*]+)\s.*/, '\1' ) to: nl = (nextline || "").gsub( /^([#*]+)\s.*/, '\1' ) seems to fix the problem - although i have not investigated any further than that. Cheers, Martin -- Martin Hart Arnclan Limited 53 Union Street Dunstable, Beds LU6 1EX http://www.arnclan.com