mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-03 19:17:29 -05:00 
			
		
		
		
	Merge pull request #262 from pyed/patch-4
browse: allow consecutive spaces in filenames
This commit is contained in:
		
						commit
						0f049856a4
					
				@ -193,6 +193,10 @@ th a {
 | 
				
			|||||||
		margin-top: 70px;
 | 
							margin-top: 70px;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.name {
 | 
				
			||||||
 | 
						white-space: pre;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
	</head>
 | 
						</head>
 | 
				
			||||||
	<body>
 | 
						<body>
 | 
				
			||||||
@ -240,7 +244,7 @@ th a {
 | 
				
			|||||||
				<tr>
 | 
									<tr>
 | 
				
			||||||
					<td>
 | 
										<td>
 | 
				
			||||||
						{{if .IsDir}}📂{{else}}📄{{end}}
 | 
											{{if .IsDir}}📂{{else}}📄{{end}}
 | 
				
			||||||
						<a href="{{.URL}}">{{.Name}}</a>
 | 
											<a href="{{.URL}}" class="name">{{.Name}}</a>
 | 
				
			||||||
					</td>
 | 
										</td>
 | 
				
			||||||
					<td>{{.HumanSize}}</td>
 | 
										<td>{{.HumanSize}}</td>
 | 
				
			||||||
					<td class="hideable">{{.HumanModTime "01/02/2006 3:04:05 PM -0700"}}</td>
 | 
										<td class="hideable">{{.HumanModTime "01/02/2006 3:04:05 PM -0700"}}</td>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user