I had a similar problem the other day when I unwittingly threw an ampersand in a link's querystring and proceeded to blow up my rss feed. Nice work. Anyway, I've only tested this on my exceedingly simple html posts and I think it might need a lock on