SA Bugzilla – Bug 6584
RTF parser for rendered body
Last modified: 2011-05-09 06:57:16 UTC
While doing bug 6582, I found many messages with text/rtf text/richtext attachments. These are (were) popular also in spams. Such RTF usually include _lots_ of formatting and could have large images or such embedded. It serves no purpose to scan that redundant data in rendered body array (we can use rawbody if desired). Basic tag stripping could be done even with few regexes, there are lots of examples and CPAN modules around.