From 3280c9422fbd68f623526509d3499a39d0684b8d Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Tue, 18 Jul 2023 14:36:11 -0400 Subject: [PATCH] fix: removed a \n by mistake --- src/Tiny_httpd_html.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tiny_httpd_html.ml b/src/Tiny_httpd_html.ml index 5f781c87..1872707d 100644 --- a/src/Tiny_httpd_html.ml +++ b/src/Tiny_httpd_html.ml @@ -20,6 +20,7 @@ let to_out_channel ?(top = false) (self : elt) (out : IO.Out_channel.t) : unit = let out = Out.create_of_out out in if top then Out.add_string out "\n"; self out; + Out.add_format_nl out; Out.flush out (** Convert a HTML element to a string.