mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 11:53:09 +02:00
Preserve line-breaks
This commit is contained in:
parent
7ae4a8027d
commit
7259244efb
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue