From 3df88f70408a2946862187056a80cfccc655e5cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= Date: Sat, 6 Mar 2021 18:03:36 +0000 Subject: [PATCH] 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. --- 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 7459971..455d2ba 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 1077e1c..eeacb6d 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 }}