aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-01-13 15:19:11 +0700
committerRobin Jarry <robin@jarry.cc>2022-01-14 20:36:19 +0100
commit6f8c167e2782cb4447f36f0a9415a0fd1482b027 (patch)
tree25b6a985a46213f6e51e1ac23a4f9f574f7f4a9d /templates
parent4782473064fa0a712aa1e26333ad175446404a64 (diff)
downloadaerc-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_body2
-rw-r--r--templates/quoted_reply2
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}}