templates: Use wrap instead of wrapText

bf0f72a533 ("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.
This commit is contained in:
Nícolas F. R. A. Prado 2021-03-06 18:03:36 +00:00 committed by Reto Brunner
parent 413fc431f7
commit 3df88f7040
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"}}:
{{wrapText .OriginalText 72}}
{{wrap .OriginalText 72}}

View File

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