N
N
nemo_holy2018-07-04 15:17:45
HTML
nemo_holy, 2018-07-04 15:17:45

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
5b3cba123666f485393813.png
. but in vain.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergiu Mitu, 2018-07-04
@EaGames

also struggled with its bugs a year ago, spat and switched to gulp-include , and forgot about the problems.

V
Vyach Gor, 2018-07-05
@sharnirio

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 question

Ask a Question

731 491 924 answers to any question