summaryrefslogtreecommitdiff
path: root/gulpfile.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-08-11 18:58:20 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-08-11 18:58:20 +0900
commit7259244efb4910e16d0792a03ee4ba8d4cfade1f (patch)
treebc9682d7168ffe668cfa375dd98444d8cc4f5c91 /gulpfile.ts
parentgood bye package-lock.json (diff)
downloadsharkey-7259244efb4910e16d0792a03ee4ba8d4cfade1f.tar.gz
sharkey-7259244efb4910e16d0792a03ee4ba8d4cfade1f.tar.bz2
sharkey-7259244efb4910e16d0792a03ee4ba8d4cfade1f.zip
Preserve line-breaks
Diffstat (limited to 'gulpfile.ts')
-rw-r--r--gulpfile.ts3
1 files changed, 3 insertions, 0 deletions
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', [
// <div><p>foo</p></div>
collapseWhitespace: true,
+ // タグ間の改行を保持する
+ preserveLineBreaks: true,
+
// (できる場合は)属性のクォーテーション削除する e.g.
// <p class="foo-bar" id="moo" title="blah blah">foo</p> to
// <p class=foo-bar id=moo title="blah blah">foo</p>