diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-06 12:36:45 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-06 12:38:28 +0000 |
commit | f08fd055ce127140554d3a50f4feffdf0c803154 (patch) | |
tree | 23a762126d2693907da519f49ff63d2b0f144be6 /src/libmime/images.c | |
parent | 4240400bc04d6c06ce5e1cebdbd77441ff2fb35f (diff) | |
download | rspamd-f08fd055ce127140554d3a50f4feffdf0c803154.tar.gz rspamd-f08fd055ce127140554d3a50f4feffdf0c803154.zip |
[Feature] Enchance text_part:get_content method
This method now supports otional `type` attribute which could be
following:
- `content` (default): utf8 content with HTML tags stripped and newlines preserved
- `content_oneline`: utf8 content with HTML tags and newlines stripped
- `raw`: raw content, not mime decoded nor utf8 converted
- `raw_parsed`: raw content, mime decoded, not utf8 converted
- `raw_utf`: raw content, mime decoded, utf8 converted (but with HTML tags and newlines)
Diffstat (limited to 'src/libmime/images.c')
0 files changed, 0 insertions, 0 deletions