mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
fix: removed a \n by mistake
This commit is contained in:
parent
3332fa906b
commit
3280c9422f
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue