diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-01-13 15:19:11 +0700 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-01-14 20:36:19 +0100 |
commit | 6f8c167e2782cb4447f36f0a9415a0fd1482b027 (patch) | |
tree | 25b6a985a46213f6e51e1ac23a4f9f574f7f4a9d /templates | |
parent | 4782473064fa0a712aa1e26333ad175446404a64 (diff) | |
download | aerc-6f8c167e2782cb4447f36f0a9415a0fd1482b027.tar.gz |
Stop wrapping OriginalText in default templates
Wrapping embeded code or patches could mess up the content.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/forward_as_body | 2 | ||||
-rw-r--r-- | templates/quoted_reply | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/forward_as_body b/templates/forward_as_body index efbe2a39..42f5835f 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 55877262..9fb71217 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}} |