Stop wrapping OriginalText in default templates

Wrapping embeded code or patches could mess up the content.
This commit is contained in:
Nguyễn Gia Phong 2022-01-13 15:19:11 +07:00 committed by Robin Jarry
parent 4782473064
commit 6f8c167e27
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 72 .OriginalText}}
{{.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 72 .OriginalText | quote}}
{{quote .OriginalText}}