Commit bd14171b authored by pyed's avatar pyed Committed by Abdulelah Alfuntukh

allow consecutive spaces for browse

parent e6ba930e
...@@ -193,6 +193,10 @@ th a { ...@@ -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 { ...@@ -240,7 +244,7 @@ th a {
<tr> <tr>
<td> <td>
{{if .IsDir}}&#128194;{{else}}&#128196;{{end}} {{if .IsDir}}&#128194;{{else}}&#128196;{{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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment