diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/loader.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/loader.nim b/src/server/loader.nim index 753c3161..2faadd3a 100644 --- a/src/server/loader.nim +++ b/src/server/loader.nim @@ -1125,7 +1125,9 @@ proc formatDuration(dur: Duration): string = result &= $parts[it] proc makeProgress(it: DownloadItem; now: Time): string = - result = " " + result = it.displayUrl.htmlEscape() & '\n' + result &= " -> " & it.path & '\n' + result &= " " #TODO implement progress element and use that var rat = 0u64 if it.contentLen == uint64.high and it.sent > 0 and it.output == nil: @@ -1205,8 +1207,6 @@ proc loadDownload(ctx: LoaderContext; handle: InputHandle; request: Request) = let now = getTime() var refresh = false for i, it in ctx.downloadList.mpairs: - body &= it.displayUrl.htmlEscape() - body &= "\n --> " & it.path if it.output != nil: it.sent = it.output.bytesSent if it.output.stream == nil: |