Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running gulp minify-inline adds ="" in scriptlets #1179

Open
jaskaran14 opened this issue May 11, 2017 · 0 comments
Open

running gulp minify-inline adds ="" in scriptlets #1179

jaskaran14 opened this issue May 11, 2017 · 0 comments

Comments

@jaskaran14
Copy link

jaskaran14 commented May 11, 2017

I am trying to minify js using minify-inline . It is working properly but gulp is adding ="" in a file wherever it finds scriplets in a code.
e.g.
this is the code present in a source file

<%@ include file="../include.jsp"/%>

After executing a task for minification in gulp.js file:

gulp.task('minify-inline', function() {
gulp.src('src/JSP/*.jsp')
.pipe(minifyInline())
.pipe(gulp.dest('minify-inline/'))
});

it has changed the source code to
<%@ include="" file="../include.jsp" %="">

One more example
<% %> changes to <% %="">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant