Skip to content

Typo + syntax errors #345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions lib/html_sigs.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions lib/html_types.mli
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type nmtoken = string
@see <http://www.w3.org/TR/2000/REC-xml-20001006> 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} *)

Expand Down Expand Up @@ -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 <https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity> *)

(** Transparent elements.
Expand Down Expand Up @@ -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
]

Expand All @@ -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
]

Expand Down
4 changes: 2 additions & 2 deletions lib/svg_sigs.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down