Sanitizing HTML in a model?

I suggest you take a peek at:

http://golem.ph.utexas.edu/~distler/blog/archives/001181.html