Skip to content

Commit

Permalink
Remove spurious \\n from servefile template
Browse files Browse the repository at this point in the history
Forgot to remove these when converting this template from a C array
embedded in the code to a file.
  • Loading branch information
lpereira committed Mar 23, 2024
1 parent 242b82f commit 3b2f1b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/servefile-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</style>
</head>
<body>
{{rel_path?}} <h1>Index of {{rel_path}}</h1>\n{{/rel_path?}}
{{^rel_path?}} <h1>Index of /</h1>\n{{/rel_path?}}
{{readme?}}<pre>{{readme}}</pre>\n{{/readme?}}
{{rel_path?}} <h1>Index of {{rel_path}}</h1>{{/rel_path?}}
{{^rel_path?}} <h1>Index of /</h1>{{/rel_path?}}
{{readme?}}<pre>{{readme}}</pre>{{/readme?}}
<table>
<tr>
<td><img src="?icon=back"></td>
Expand Down

0 comments on commit 3b2f1b8

Please sign in to comment.