Edit content of html tags

Hi,

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

 tags?

Cheers,
josh

Josh

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

 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

Alain R. wrote:

Josh

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

 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

thanks, looks like exactly what is needed.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs