From: Dmitri Borodaenko Date: 2004-11-11T05:26:38+09:00 Subject: Re: REXML error reporting (XHTML validation) On Tue, 9 Nov 2004 02:47:11 +0900, James Britt wrote: > I added logging to my copy so that I could see what was being clobbered > during sanitization. Might be worth including this by default. Err, I can't throw Ruby dumps on unsuspecting Wiki users: my problem is not just to find the cause, but also to report it nicely. > I see that 'script' elements are deleted, as the yaml file makes no > mention of that element. Right, that was on purpose. Btw, I've noticed that this script doesn't completely filter out things like: ...although it cripples it a bit by escaping quotes. I don't want to remove "style" attributes, is there any easy way around parsing CSS? -- Dmitry Borodaenko