From a19c1fb65b579f1932dfac70188720721170507f Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sun, 7 Mar 2021 15:17:08 +0100 Subject: [PATCH] templates: fixup error in template modification The change of WrapText --> Wrap left the order of the arguments unchanged, which is wrong. --- 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 455d2ba..17397c6 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 .OriginalText 72}} +{{wrap 72 .OriginalText }} diff --git a/templates/quoted_reply b/templates/quoted_reply index eeacb6d..d74415a 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 .OriginalText 72 | quote }} +{{wrap 72 .OrinalText | quote }}