On Fri, 31 Jan 2003, Greg Cirino wrote: > | <p> <kodovanych><decernitisque> > | On January 1st 2002, the Europ<kodovanych>ean countries began > > what you have below as well as bogus closing tags example: > </m> or </laskdjfkldjf> or... well you get the idea, does not > get checked. > > I imagine a private rule (derived from the OBFUS...ENT rule) would > also check for what you have below. > > There may need to be a list of valid html tags and a way to tell if there > is/are valid tag pairs, otherwise, "legit" html tags will be flagged.
See HTML::Tagset. However, be aware that various HTML generators (especially MS Word) insert XML tags that are not legal HTML. [These are used by Word to convert back from HTML to something resembling the original internal format, if you re- open the document after saving as HTML.] So in addition to checking for tags that are missing from the HTML set, you also need to examine the format of the tag. Unfortunately I don't have an example handy ... ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk