Files
kulakpos_web/vendor/masterminds/html5/src/HTML5/Serializer/README.md
triagungbiantoro 417b7b7453
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m27s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 31s
Build, Push and Deploy / deploy-production (push) Has been skipped
harga pada beranda terhubung ke manage plans di dashboard admin
2026-04-25 21:57:25 +07:00

929 B
Executable File

The Serializer (Writer) Model

The serializer roughly follows sections 8.1 Writing HTML documents and section 8.3 Serializing HTML fragments by converting DOMDocument, DOMDocumentFragment, and DOMNodeList into HTML5.

   [ HTML5 ]   // Interface for saving.
      ||
 [ Traverser ]   // Walk the DOM
      ||
   [ Rules ]     // Convert DOM elements into strings.
      ||
   [ HTML5 ]     // HTML5 document or fragment in text.

HTML5 Class

Provides the top level interface for saving.

The Traverser

Walks the DOM finding each element and passing it off to the output rules to convert to HTML5.

Output Rules

The output rules are defined in the RulesInterface which can have multiple implementations. Currently, the OutputRules is the default implementation that converts a DOM as is into HTML5.

HTML5 String

The output of the process it HTML5 as a string or saved to a file.