fix: removed a \n by mistake

This commit is contained in:
Simon Cruanes 2023-07-18 14:36:11 -04:00
parent 3332fa906b
commit 3280c9422f
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -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 let out = Out.create_of_out out in
if top then Out.add_string out "<!DOCTYPE html>\n"; if top then Out.add_string out "<!DOCTYPE html>\n";
self out; self out;
Out.add_format_nl out;
Out.flush out Out.flush out
(** Convert a HTML element to a string. (** Convert a HTML element to a string.