nokogiri: parsing tags

Use Nokogiri::HTML.fragment(str).

G_ F_ wrote:

Use Nokogiri::HTML.fragment(str).

If I use this it wont parse the image tags. Any idea?