Skip to content

Commit 2c41ad5

Browse files
committed
Fixes few typos in Xml_print.
1 parent 4f92f69 commit 2c41ad5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/xml_print.mli

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ val encode_unsafe_char_and_at : string -> string
5050

5151
(** Utf8 normalizer and encoder for HTML.
5252
53-
Given a module [pp] functions produced by one of the functors in {!Xml_print}, this modules is used as following:
53+
Given a [pp] function produced by one of the functors in {!Xml_print}, this modules is used as following:
5454
{[
5555
let encode x = fst (Xml_print.Utf8.normalize_html x) in
5656
Format.printf "%a" (Html.pp ~encode ()) document
@@ -82,14 +82,14 @@ val compose_decl : ?version:string -> ?encoding:string -> unit -> string
8282
val compose_doctype : string -> string list -> string
8383

8484
val string_of_number : float -> string
85-
(** Convert a float to a string using a compact representation compatible with Javascript norme. *)
85+
(** Convert a float to a string using a compact representation compatible with the Javascript norm. *)
8686

8787
val pp_number : Format.formatter -> float -> unit
8888
(** See {!string_of_number}. *)
8989

9090
(** {2 Formatter functors} *)
9191

92-
(** Printers for typed XML module, such as the one produced by {!Svg_f} and {!Html_f}. *)
92+
(** Printers for typed XML modules such as the one produced by {!Svg_f} and {!Html_f}. *)
9393
module Make_typed_fmt
9494
(Xml : Xml_sigs.Iterable)
9595
(Typed_xml : Xml_sigs.Typed_xml with module Xml := Xml)

0 commit comments

Comments
 (0)