From 7259244efb4910e16d0792a03ee4ba8d4cfade1f Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 11 Aug 2017 18:58:20 +0900 Subject: [PATCH] Preserve line-breaks --- gulpfile.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gulpfile.ts b/gulpfile.ts index 87c3a23a01..4ee5fbce0e 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -173,6 +173,9 @@ gulp.task('build:client:pug', [ //

foo

collapseWhitespace: true, + // タグ間の改行を保持する + preserveLineBreaks: true, + // (できる場合は)属性のクォーテーション削除する e.g. //

foo

to //

foo