Skip to content

Commit 57bd96c

Browse files
authored
Merge pull request #345 from toastal/english
Typo + syntax errors
2 parents a84d1b1 + ef1c93d commit 57bd96c

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
* Add support for the clip-path presentation attribute
44
(#333 by Martin @MBodin Bodin)
5+
* Fix typo for `subresource` & English orthographic fixes
6+
(#345 by toastal)
57

68
# 4.6.0
79

lib/html_sigs.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,10 +1169,10 @@ module type T = sig
11691169
(** Same, for URI attribute *)
11701170
val uri_attrib : string -> uri wrap -> 'a attrib
11711171

1172-
(** Same, for a space separated list of values *)
1172+
(** Same, for a space-separated list of values *)
11731173
val space_sep_attrib : string -> string list wrap -> 'a attrib
11741174

1175-
(** Same, for a comma separated list of values *)
1175+
(** Same, for a comma-separated list of values *)
11761176
val comma_sep_attrib : string -> string list wrap -> 'a attrib
11771177

11781178
end

lib/html_types.mli

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type nmtoken = string
5454
@see <http://www.w3.org/TR/2000/REC-xml-20001006> XML 1.0 *)
5555

5656
type nmtokens = nmtoken list
57-
(** One or more white space separated NMTOKEN values *)
57+
(** One or more whitespace-separated NMTOKEN values *)
5858

5959
(** {2 Data Types} *)
6060

@@ -424,7 +424,7 @@ type listed = [ | resetable | submitable | `Fieldset ]
424424

425425
type formassociated = [ | listed | `Progress | `Meter | `Label ]
426426

427-
type subressource_integrity = [ | `Crossorigin | `Integrity ]
427+
type subresource_integrity = [ | `Crossorigin | `Integrity ]
428428
(** @see <https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity> *)
429429

430430
(** Transparent elements.
@@ -2294,7 +2294,7 @@ type style_attrib = [ | common | `Media | `Mime_type | `Scoped ]
22942294
type script = [ | `Script ]
22952295

22962296
type script_attrib =
2297-
[ | common | subressource_integrity
2297+
[ | common | subresource_integrity
22982298
| `Async | `Charset | `Src | `Defer | `Script_type
22992299
]
23002300

@@ -2319,7 +2319,7 @@ type link_content = notag
23192319
type link_content_fun = notag
23202320

23212321
type link_attrib =
2322-
[ | common | subressource_integrity
2322+
[ | common | subresource_integrity
23232323
| `Hreflang | `Media | `Rel | `Href | `Sizes | `Mime_type
23242324
]
23252325

lib/svg_sigs.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,10 +1038,10 @@ module type T = sig
10381038
(** Same, for URI attribute *)
10391039
val uri_attrib : string -> uri wrap -> 'a attrib
10401040

1041-
(** Same, for a space separated list of values *)
1041+
(** Same, for a space-separated list of values *)
10421042
val space_sep_attrib : string -> string list wrap -> 'a attrib
10431043

1044-
(** Same, for a comma separated list of values *)
1044+
(** Same, for a comma-separated list of values *)
10451045
val comma_sep_attrib : string -> string list wrap -> 'a attrib
10461046

10471047
end

0 commit comments

Comments
 (0)