docs: Comment why spaced en dash is used to separate message Subject from text

This commit is contained in:
iequidoo
2025-11-01 14:01:30 -03:00
committed by iequidoo
parent c9b3da4a1a
commit 7f059140be

View File

@@ -854,6 +854,10 @@ impl MimeMessage {
.iter_mut()
.find(|part| !part.msg.is_empty() && !part.is_reaction);
if let Some(part) = part_with_text {
// Message bubbles are small, so we use en dash to save space. In some
// languages there may be em dashes in the message text added by the author,
// they may look stronger than Subject separation, this is a known thing.
// Anyway, classic email support isn't a priority as of 2025.
part.msg = format!("{} {}", subject, part.msg);
}
}