aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/msgviewer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 587959b9..6c695771 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -586,7 +586,7 @@ func (pv *PartViewer) attemptCopy() {
}
go func() {
pv.writeMailHeaders()
- if pv.part.MIMEType == "text" {
+ if strings.EqualFold(pv.part.MIMEType, "text") {
// if the content is plain we can strip ansi control chars
pv.copySourceToSinkStripAnsi()
} else {