aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-28 16:58:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-28 16:58:13 +0100
commit2e5fc80627fcc828513aa6ad25726949dd3338fc (patch)
treef74efbc8041d571a479ba64602d6bcc3967e1a62 /src/libmime/message.h
parent9f218324e0a2430572fa1b4f9ab169980d001eb0 (diff)
downloadrspamd-2e5fc80627fcc828513aa6ad25726949dd3338fc.tar.gz
rspamd-2e5fc80627fcc828513aa6ad25726949dd3338fc.zip
[Feature] Store text parts content with newlines stripped
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r--src/libmime/message.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h
index 2f7539825..59fa0b73c 100644
--- a/src/libmime/message.h
+++ b/src/libmime/message.h
@@ -43,6 +43,7 @@ struct mime_text_part {
const gchar *real_charset;
GByteArray *orig;
GByteArray *content;
+ GByteArray *stripped_content; /**< no newlines or html tags */
struct html_content *html;
GList *urls_offset; /**< list of offsets of urls */
GMimeObject *parent;