package SZXX

  1. Overview
  2. Docs
type state = {
  1. decl_attrs : attr_list option;
  2. stack : partial list;
  3. top : DOM.element option;
}
val sexp_of_state : state -> Sexplib0.Sexp.t
val init : state
val folder : ?strict:bool -> (state, string) Core.result -> node -> (state, string) Core.result

strict (default: true) When false, non-closed elements are treated as self-closing elements, HTML-style. For example a <br> without a matching </br> is treated as <br />

OCaml

Innovation. Community. Security.