Skip to content

Commit 3b2f1b8

Browse files
committed
Remove spurious \\n from servefile template
Forgot to remove these when converting this template from a C array embedded in the code to a file.
1 parent 242b82f commit 3b2f1b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/servefile-template.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
</style>
1010
</head>
1111
<body>
12-
{{rel_path?}} <h1>Index of {{rel_path}}</h1>\n{{/rel_path?}}
13-
{{^rel_path?}} <h1>Index of /</h1>\n{{/rel_path?}}
14-
{{readme?}}<pre>{{readme}}</pre>\n{{/readme?}}
12+
{{rel_path?}} <h1>Index of {{rel_path}}</h1>{{/rel_path?}}
13+
{{^rel_path?}} <h1>Index of /</h1>{{/rel_path?}}
14+
{{readme?}}<pre>{{readme}}</pre>{{/readme?}}
1515
<table>
1616
<tr>
1717
<td><img src="?icon=back"></td>

0 commit comments

Comments
 (0)