edit content of html tags

Josh

  > Is anyone aware of a nice gem or way that will allow me to edit the   > content of all html tags except <pre> tags?

Look at hpricot: (see the example at the top of the page)     http://code.whytheluckystiff.net/hpricot/ and this hpricot extension:   http://henrik.nyh.se/2007/03/transform-all-text-nodes-excepting-elements-with-hpricot

Alain