Skip to content

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

@jaskaran14

Description

@jaskaran14

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 <% %="">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions