jonkemp / jonkemp/gulp-inline-css

Classes are being skipped in the document

Open
#53 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
271
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Hello,

I've been enjoying gulp-inline-css quite a bit for email development, but I run into a strange bug as of late. I have a class `.innerContainer` that isn't having it's styles inlined? Most of the other styles are inlining just fine. To make matters even stranger, if I have a `

` or `` in the bottom half of the html file, the styles for `.innerContainer` will inline just fine.

I'm using the Nunjucks templating engine to build my files.

Here is my gulp task
```
gulp.task('inline', function() {
return gulp.src('./*.html')
.pipe(inlineCss({
removeStyleTags: false,
preserveMediaQueries: true,
applyTableAttributes: true,
applyWidthAttributes: false
}))
.pipe(gulp.dest('dist/'));
});
```
Thanks for your help.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.