On Wed, Nov 05, 2008 at 10:38:05PM +0100, Luke Grimstrup
wrote:> Does anyone know of a way/method/plugin for ensuring HTML tags all close
> and/or close them automatically when the data is pulled or pushed into
> the database???
Look into Hpricot. Doing Hpricot(htmltext).to_html will give you
well-formed (i.e. all tags close) HTML.
--Greg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---