aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@protonmail.com>2021-03-06 18:03:36 +0000
committerReto Brunner <reto@labrat.space>2021-03-07 14:53:37 +0100
commit3df88f70408a2946862187056a80cfccc655e5cc (patch)
tree1bfbddee33ceaae077fb01a4ee9bcdee4f11d08b
parent413fc431f76585b09845d6b2555f7d85d5667ee3 (diff)
downloadaerc-3df88f70408a2946862187056a80cfccc655e5cc.tar.gz
templates: Use wrap instead of wrapText
bf0f72a533d5 ("template: add exec and wrap") introduced wrap which allowed to chain wrapText. It also changed the aerc-templates man page to document wrap instead of wrapText. The templates weren't updated then, so update now.
-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 74599711..455d2baa 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"}}:
-{{wrapText .OriginalText 72}}
+{{wrap .OriginalText 72}}
diff --git a/templates/quoted_reply b/templates/quoted_reply
index 1077e1cc..eeacb6df 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:
-{{wrapText .OriginalText 72 | quote }}
+{{wrap .OriginalText 72 | quote }}