Answer the question
In order to leave comments, you need to log in
Fille gulp include how to solve problem with empty lines and hyphens in assembled html?
I use gulp-file-include , in the assembled html file there are such lines and hyphens
. but in vain.
Answer the question
In order to leave comments, you need to log in
also struggled with its bugs a year ago, spat and switched to gulp-include , and forgot about the problems.
had a similar task only with gulp-rigger, solved with gulp-html-beautify with such options
//----------#OPTIONS WITH HTMLBEAUTIFY PLUGIN
//all options https://www.npmjs.com/package/gulp-html-beautify
var options = {
//отступу табами
"indent_with_tabs": true,
//максимальное число новых строк
"max_preserve_newlines": 0,
};
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question