Skip to content

Commit

Permalink
perf(Learnocaml_main): Remove unneeded Markup.pretty_print
Browse files Browse the repository at this point in the history
  • Loading branch information
erikmd committed Oct 3, 2021
1 parent fe0fe8b commit e5ce820
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/learnocaml_main.ml
Expand Up @@ -270,7 +270,6 @@ let process_html_file orig_file dest_file base_url no_secret =
when no_secret && List.mem (("", "id"), "secret-section") attrs ->
`Start_element ((e, "div"), (("", "style"), "display:none")::attrs)
| t -> t)
|> Markup.pretty_print
|> Markup.write_html
|> Markup_lwt.to_lwt_stream
|> Lwt_io.write_chars wfile >>= fun () ->
Expand Down

0 comments on commit e5ce820

Please sign in to comment.