topic: html
31 modules sharing the html name family (derived from the tree's prefix discipline).
The 'html' topic family in the Nishi sovereign ecosystem provides tools for handling HTML content within the NishiLang framework. It includes modules like nx_html_book, which converts single-file web ebooks into Nishi reader format, and nx_html_emit, a minimal HTML5 writer for generating structured output. The nx_html_escape module handles entity encoding and decoding, ensuring proper rendering and compatibility across different contexts. These modules work together to support HTML processing, rendering, and conversion within the ecosystem's modular architecture.
auto-narrated by the local model from this topic's module headers; links verified against the wiki index.
narrated overview -- maintained by the narration lane, module links verified against this wiki.
| module | description | lines | funcs |
|---|---|---|---|
| html_escape.nx | alias stub. | 20 | 0 |
| nx_html_book.nx | SOVEREIGN HTML (single-file web ebook) -> Nishi reader format. The library holds ~79 .html | 84 | 11 |
| nx_html_decode_entities_test.nx | KAT for nx_html_decode_entities (the render-side entity decoder). | 33 | 4 |
| nx_html_emit.nx | minimal substrate-native HTML5 writer. | 218 | 21 |
| nx_html_emit_test.nx | HTML5 writer shape verification. | 65 | 1 |
| nx_html_entities.nx | data-driven HTML named-entity table for the | 350 | 5 |
| nx_html_entities_render_test.nx | named-entity table KAT (X-HTML-ENT-001 | 507 | 2 |
| nx_html_escape.nx | HTML entity encoder + decoder. | 287 | 6 |
| nx_html_extract.nx | minimal HTML body-text scraper (state-machine V2). | 601 | 7 |
| nx_html_extract_data.nx | JS-RENDER FETCHER rung 1: STRUCTURED-DATA EXTRACTION. | 76 | 4 |
| nx_html_extract_data_test.nx | KAT: pull JSON-LD prose from HTML; then a REAL | 65 | 5 |
| nx_html_extract_imgs.nx | walk a parsed HTML document, find every | 130 | 2 |
| nx_html_extract_imgs_test.nx | exercise nx_html_extract_imgs | 77 | 3 |
| nx_html_extract_links.nx | enumerate <a href="..."> links in a | 95 | 2 |
| nx_html_head.nx | THE ONE canonical accessible document head for every page emitter. | 54 | 4 |
| nx_html_head_fd.nx | the fd-STREAMING half of the canonical accessible head (seq702/seq703). | 46 | 4 |
| nx_html_links.nx | LINK EXTRACTION kernel: the crawler's discovery primitive. | 88 | 4 |
| nx_html_links_test.nx | KATs for the link-extraction kernel (GATE). | 38 | 3 |
| nx_html_render.nx | typed-context HTML render primitive. | 418 | 20 |
| nx_html_render_test.nx | smoke + XSS-attack-vector tests. | 202 | 3 |
| nx_html_sanitize.nx | CMS ladder step 9 (KEYSTONE): KSES-style HTML ALLOWLIST sanitizer, run on | 294 | 15 |
| nx_html_sanitize_test.nx | ENGINEER verification of the CMS sanitizer keystone: byte-exact KATs | 97 | 6 |
| nx_html_table.nx | SOVEREIGN HTML TABLE extractor: the reusable "access it properly" rung for ingesting | 109 | 8 |
| nx_html_table_gate.nx | proves the sovereign HTML table extractor (nx_html_table): parse a known table | 62 | 6 |
| nx_html_to_nishi_page.nx | HUB primitive; site-conversion tool. | 417 | 10 |
| nx_html_to_text.nx | HTML → plain text rendering for the | 476 | 20 |
| nx_html_to_text_entity_test.nx | X-HTML-ENT-001 KAT: HTML character- | 136 | 9 |
| nx_html_to_text_oom_gate.nx | 56 | 3 | |
| nx_html_to_text_real_test.nx | bits-up render stage. | 34 | 1 |
| nx_html_to_text_test.nx | KATs for the sovereign browser's text- | 158 | 9 |
| nx_html_tokenizer.nx | HTML tokenizer for the Nishi browser. | 726 | 19 |