Ensuring all HTML tags close in text fields

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