Explorer

html.document-to-string

description
Serialize an HTML document: <!doctype html> and the root element (usually html)
type
Fn(root: @html.node) -> String
expression
fn(root$0) =>
  @core.string-join(items: ["<!doctype html>", @html.to-string(node: $0)], separator: "")
visibility
public
html.document-to-string (project html, branch main, snapshot hd1kHQmQUtgayk-Y5Eo_pcQPlqiL8dHKKndnKtdm-KI)
id: T-RZHnBx4ShkH4VCFi8oc-ZMad-YDGB_Udit6rXvkGg
content hash: Nudrd31b4OHB3DknNZqvppN_GmPEHOevr3XjhJh4vkI