From ac7a51dbd9652e7a90b1a273a1a08c536f0f1331 Mon Sep 17 00:00:00 2001 From: bptato Date: Sun, 24 Mar 2024 15:33:36 +0100 Subject: ansi2html: add newline after pre tag it doesn't change anything in the dom, but this way it's easier to compose with other commands --- adapter/format/ansi2html.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adapter/format') diff --git a/adapter/format/ansi2html.nim b/adapter/format/ansi2html.nim index 078582df..95ce0fea 100644 --- a/adapter/format/ansi2html.nim +++ b/adapter/format/ansi2html.nim @@ -362,7 +362,7 @@ proc main() = let standalone = paramCount() >= 1 and paramStr(1) == "-s" if standalone: state.puts("\n") - state.puts("
")
+  state.puts("
\n")
   ps.setBlocking(false)
   var buffer {.noinit.}: array[4096, char]
   var selector = newSelector[int]()
-- 
cgit 1.4.1-2-gfad0