Skip to content Skip to sidebar Skip to footer
Showing posts with the label Nokogiri

Repairing Invalid Html With Nokogiri (removing Invalid Tags)

I'm trying to tidy some retrieved HTML using the tidy-ext gem. However, it fails when the HTML … Read more Repairing Invalid Html With Nokogiri (removing Invalid Tags)

How Can I Detect Errors In An Html Document Fragment With Ruby?

I'm collecting some HTML formatted content from a web form. Before saving this HTML content, I&… Read more How Can I Detect Errors In An Html Document Fragment With Ruby?

How Can I Detect Errors In An HTML Document Fragment With Ruby?

I'm collecting some HTML formatted content from a web form. Before saving this HTML content, I&… Read more How Can I Detect Errors In An HTML Document Fragment With Ruby?