Answer the question
In order to leave comments, you need to log in
How to properly configure gulp-pug (jade)?
When using pretty: true, gulp-pug compiles the code like this:
<div><a>Ссылка 1</a><a>Ссылка 2</a><a>Ссылка 3</a></div>
<div>
<a>Ссылка 1</a>
<a>Ссылка 2</a>
<a>Ссылка 3</a>
</div>
Answer the question
In order to leave comments, you need to log in
a is an inline element, so the compiler will emit this,
or put up with what the compiler produces, or make a different structure
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question