diff --git a/CHANGES.md b/CHANGES.md index 74ecef559..f914dc5c1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,8 @@ * Add support for the clip-path presentation attribute (#333 by Martin @MBodin Bodin) +* Fix typo for `subresource` & English orthographic fixes + (#345 by toastal) # 4.6.0 diff --git a/lib/html_sigs.mli b/lib/html_sigs.mli index 1cf169c8f..0029cce4c 100644 --- a/lib/html_sigs.mli +++ b/lib/html_sigs.mli @@ -1169,10 +1169,10 @@ module type T = sig (** Same, for URI attribute *) val uri_attrib : string -> uri wrap -> 'a attrib - (** Same, for a space separated list of values *) + (** Same, for a space-separated list of values *) val space_sep_attrib : string -> string list wrap -> 'a attrib - (** Same, for a comma separated list of values *) + (** Same, for a comma-separated list of values *) val comma_sep_attrib : string -> string list wrap -> 'a attrib end diff --git a/lib/html_types.mli b/lib/html_types.mli index 7ccd3d3cc..66b0097d5 100644 --- a/lib/html_types.mli +++ b/lib/html_types.mli @@ -54,7 +54,7 @@ type nmtoken = string @see XML 1.0 *) type nmtokens = nmtoken list -(** One or more white space separated NMTOKEN values *) +(** One or more whitespace-separated NMTOKEN values *) (** {2 Data Types} *) @@ -424,7 +424,7 @@ type listed = [ | resetable | submitable | `Fieldset ] type formassociated = [ | listed | `Progress | `Meter | `Label ] -type subressource_integrity = [ | `Crossorigin | `Integrity ] +type subresource_integrity = [ | `Crossorigin | `Integrity ] (** @see *) (** Transparent elements. @@ -2294,7 +2294,7 @@ type style_attrib = [ | common | `Media | `Mime_type | `Scoped ] type script = [ | `Script ] type script_attrib = - [ | common | subressource_integrity + [ | common | subresource_integrity | `Async | `Charset | `Src | `Defer | `Script_type ] @@ -2319,7 +2319,7 @@ type link_content = notag type link_content_fun = notag type link_attrib = - [ | common | subressource_integrity + [ | common | subresource_integrity | `Hreflang | `Media | `Rel | `Href | `Sizes | `Mime_type ] diff --git a/lib/svg_sigs.mli b/lib/svg_sigs.mli index bd5bbfc9b..d1cc6786a 100644 --- a/lib/svg_sigs.mli +++ b/lib/svg_sigs.mli @@ -1038,10 +1038,10 @@ module type T = sig (** Same, for URI attribute *) val uri_attrib : string -> uri wrap -> 'a attrib - (** Same, for a space separated list of values *) + (** Same, for a space-separated list of values *) val space_sep_attrib : string -> string list wrap -> 'a attrib - (** Same, for a comma separated list of values *) + (** Same, for a comma-separated list of values *) val comma_sep_attrib : string -> string list wrap -> 'a attrib end