mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00: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…
	
	Add table
		
		Reference in a new issue