Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/html_sigs.mli
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module type T = sig
(** A nullary element is an element that doesn't have any children. *)
type ('a, 'b) nullary = ?a:('a attrib list) -> unit -> 'b elt

(** A unary element is an element that have exactly one children. *)
(** A unary element is an element that has exactly one children. *)
type ('a, 'b, 'c) unary = ?a:('a attrib list) -> 'b elt wrap -> 'c elt

(** A star element is an element that has any number of children, including zero. *)
Expand Down
2 changes: 1 addition & 1 deletion lib/svg_f.ml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ struct
let standard = "http://www.w3.org/TR/svg11/"
let namespace = "http://www.w3.org/2000/svg"
let doctype =
Xml_print.compose_doctype"svg"
Xml_print.compose_doctype "svg"
["-//W3C//DTD SVG 1.1//EN";
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"]
end
Expand Down
2 changes: 1 addition & 1 deletion lib/svg_sigs.mli
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module type T = sig
(** A nullary element is an element that doesn't have any children. *)
type ('a, 'b) nullary = ?a: (('a attrib) list) -> unit -> 'b elt

(** A unary element is an element that have exactly one children. *)
(** A unary element is an element that has exactly one children. *)
type ('a, 'b, 'c) unary = ?a: (('a attrib) list) -> 'b elt wrap -> 'c elt

(** A star element is an element that has any number of children, including zero. *)
Expand Down
4 changes: 2 additions & 2 deletions lib/xml_print.ml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ let encode_unsafe_char_and_at s =

let compose_decl ?(version = "1.0") ?(encoding = "UTF-8") () =
Format.sprintf
{|<?xml version="%s" encoding="%s"?>\n|}
version encoding
{|<?xml version="%s" encoding="%s"?>%c|}
version encoding '\n'

let compose_doctype dt args =
let pp_args fmt = function
Expand Down
Loading