1
0
mirror of https://github.com/Spearfoot/FreeNAS-scripts synced 2025-12-06 01:23:19 +00:00

Prevent wrapping and linebreaks on whitespace (#11)

Some "responsive" web e-mail clients are too aggressive and wrap the text within <pre> tags.  I ran into this with the Yahoo! mail client on Android.  This PR prevents this issue.
This commit is contained in:
Keith Nash
2020-03-04 17:02:51 -06:00
committed by GitHub
parent 20d979f3ad
commit 18dcee70b5

View File

@@ -60,7 +60,7 @@ Content-Type: multipart/mixed; boundary=\"$boundary\"
Content-Type: text/html; charset=\"US-ASCII\"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<html><head></head><body><pre style=\"font-size:14px\">" > ${logfile}
<html><head></head><body><pre style=\"font-size:14px; white-space:pre\">" > ${logfile}
###### summary ######
(