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:
@@ -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 ######
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user