I'd screwed that up. Also, fix some bugs in the #to_md output method. Still not correct (and I'm not sure I'm going to bother completing the job), but better.
Email addresses and horizontal rules now work properly.
Modify Maruku to use Nokogiri instead of REXML. Produces a 3-fold speedup in the #to_html method.