diff --git a/src/vmime/text.cpp b/src/vmime/text.cpp index 123ce007..5b2d6faa 100644 --- a/src/vmime/text.cpp +++ b/src/vmime/text.cpp @@ -338,6 +338,11 @@ void text::createFromString(const string& in, const charset& ch) { } else { + if (count) { + shared_ptr w = getWordAt(getWordCount() - 1); + w->getBuffer() += ' '; + } + appendWord(make_shared (chunk, charset(charsets::US_ASCII))); prevIs8bit = false;