diff options
author | Reto Brunner <reto@labrat.space> | 2021-03-07 15:17:08 +0100 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2021-03-07 15:17:08 +0100 |
commit | a19c1fb65b579f1932dfac70188720721170507f (patch) | |
tree | 0d7d0f72a6ec192abbdd3b572b4cc578f195e726 | |
parent | 3df88f70408a2946862187056a80cfccc655e5cc (diff) | |
download | aerc-a19c1fb65b579f1932dfac70188720721170507f.tar.gz |
templates: fixup error in template modification
The change of WrapText --> Wrap left the order of the arguments unchanged, which
is wrong.
-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 455d2baa..17397c62 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 eeacb6df..d74415a2 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 }} |