templates: fixup error in template modification

The change of WrapText --> Wrap left the order of the arguments unchanged, which
is wrong.
This commit is contained in:
Reto Brunner 2021-03-07 15:17:08 +01:00
parent 3df88f7040
commit a19c1fb65b
2 changed files with 2 additions and 2 deletions

View File

@ -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 }}

View File

@ -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 }}