]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Set maxLineLength option to 800 for htmlmin
authoralxscms <alexiscamus60@gmail.com>
Thu, 4 Aug 2016 14:23:47 +0000 (16:23 +0200)
committerTim Hartwick <tdhartwick2@gmail.com>
Wed, 19 Apr 2017 21:13:36 +0000 (14:13 -0700)
Gmail automatically adds linebreaks if lines are too long and doesn't care about code being split by newlines at invalid HTML split-points. This property prevents this to happen.

gulpfile.js

index 8f045592e5672735b3b1216556e64bfd631036bc..ac27ac940ffda5695c686e13febdaf38f9e6511b 100644 (file)
@@ -217,7 +217,7 @@ function inliner(css) {
     .pipe($.htmlmin, {
       collapseWhitespace: false,
       minifyCSS: false,
-      maxLineLength: 78
+      maxLineLength: 800
     });
 
   return pipe();