Skip to content

DOM Parser & Tree-Sitter Extraction

  • Fuzzy XML Recovery: Self-healing parser that repairs unclosed tags and unescaped ampersands.
  • Tree-Sitter Integration: Automatically extracts fenced code blocks and identifies programming languages.
  • Sanitization Guard: Strips dangerous scripts, objects, and event handlers while preserving EPUB formatting.\n