From 6f8c167e2782cb4447f36f0a9415a0fd1482b027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Thu, 13 Jan 2022 15:19:11 +0700 Subject: [PATCH] Stop wrapping OriginalText in default templates Wrapping embeded code or patches could mess up the content. --- templates/forward_as_body | 2 +- templates/quoted_reply | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/forward_as_body b/templates/forward_as_body index efbe2a3..42f5835 100644 --- a/templates/forward_as_body +++ b/templates/forward_as_body @@ -1,3 +1,3 @@ Forwarded message from {{(index .OriginalFrom 0).Name}} on {{dateFormat .OriginalDate "Mon Jan 2, 2006 at 3:04 PM"}}: -{{wrap 72 .OriginalText}} +{{.OriginalText}} diff --git a/templates/quoted_reply b/templates/quoted_reply index 5587726..9fb7121 100644 --- a/templates/quoted_reply +++ b/templates/quoted_reply @@ -1,3 +1,3 @@ On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote: -{{wrap 72 .OriginalText | quote}} +{{quote .OriginalText}}