]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Fix issues with visual test setup
authorGeoff Kimball <geoff@zurb.com>
Thu, 10 Mar 2016 19:47:48 +0000 (11:47 -0800)
committerGeoff Kimball <geoff@zurb.com>
Thu, 10 Mar 2016 19:47:48 +0000 (11:47 -0800)
gulpfile.js
test/visual/_template.html

index 06f4b5b5da59a1c1ab23b9253b3fd324994b6fc1..542589ede24142d52539ccef9cd60ab6d2b65215 100644 (file)
@@ -132,7 +132,8 @@ function inliner(css) {
 
   var pipe = lazypipe()
     .pipe($.inlineCss, {
-      applyStyleTags: false
+      applyStyleTags: false,
+      removeStyleTags: false
     })
     .pipe($.injectString.replace, '<!-- <style> -->', `<style>${mqCss}</style>`)
     .pipe($.htmlmin, {
index 54f4ca73394ef86be56e6e7a97333b773837376a..fc4f2c3be366c9138bebefdaf3c454a3dc90ff95 100644 (file)
@@ -4,6 +4,11 @@
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <meta name="viewport" content="width=device-width"/>
   <link rel="stylesheet" href="../assets/css/foundation.css">
+  <style>
+    .test {
+      background: red;
+    }
+  </style>
 </head>
 
 <body>