http://bugzilla.spamassassin.org/show_bug.cgi?id=2211
------- Additional Comments From [EMAIL PROTECTED] 2004-01-30 09:24 ------- > - You want to try adapting the code to see if being stricter > (considering whether a tag is open-only, I think attributes will > probably FP a lot, but try that too) The variable $beginning_tags has 2 sections. the first (left) side of it are tags that typically have attributes. For example <a>, <font>, etc. The right side (after \b ?.*?)| ) has tags that generally don't have attributes. For example <u>, <kbd>, etc. I think it makes sense to be stricter on the tags because, for example the <u> tag, generally never has a use for an attribute. You can certainly do <u title=foo>, but why would any one ever do that in an email? I pulled the list of tags and attributes from <http://www.w3schools.com/tags/tag_u.asp> Anything that didn't have optional attributes and only standard attributes was put on the left side of that regex. > - Any other non-standard tags you think we should permit? Ya, the tags defined in the variables $ms_xml_tags and $extra_tags in attachment <http://bugzilla.spamassassin.org/attachment.cgi? id=1735&action=view> ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
