gulp-rev-mtime
gulp-rev-mtime copied to clipboard
single quotes get replaced with '
When run inject on html files single quotes inside property values get replaced with ' even when outside the injection tags.
gulp.task('html-apos-issue', function () {
return gulp.src('./index-test.html')
.pipe(revmtime())
.pipe(rename('./index-test-out.html'))
.pipe(gulp.dest('.'));
});
<div data-ng-include="'somewhere/something.html'"/>
becomes
<div data-ng-include="'somewhere/something.html'"/>
<meta lang="'something'">
becomes
<meta lang="'something'">
Is there an option to prevent that?