nx_html_entities.nx
buildroot/runtime/nx_html_entities.nx
about
nx_html_entities.nx -- data-driven HTML named-entity table for the
sovereign browser's text renderer (X-HTML-ENT-001 follow-on: the
named half). 110 common-on-the-web entities, codepoints sourced
AUTHORITATIVELY from python html.entities.html5 (verified, not from
memory). Single-responsibility organ (rule 9) so the table has ONE
home and is KAT-testable on its own; nx_html_to_text imports it.
expect_exit: 0
license_tier: ORIGINAL
genealogy_id: international-research-sources/whatwg/html5-named-charrefs
dependencies 1 imports · 11 importers
diagram shows first 10 each side; +0 more imports, +1 more importers in the complete lists below.
imports: nx_syscalls.nx
imported by: nx_browse.nxnx_browser.nxnx_browser_render.nxnx_fold_punct_gate.nxnx_html_decode_entities_test.nxnx_html_table.nxnx_html_to_text.nxnx_js_eval.nxnx_real_page_gate.nxnx_render_html.nxnx_wiki_boxdump.nx
structs
| none |
consts
| none |
functions
| 15 | func nx_html_entity_lookup(name: *u8, nlen: i64, out_cp: *i64) -> i64 |
| 132 | func _ent_utf8(out: *u8, o0: i64, cap: i64, cp: i64) -> i64 called by 1: nx_html_decode_entities |
| 155 | func _fold_cp(cp: i64) -> i64 called by 1: nx_fold_ascii |
| 248 | func nx_fold_ascii(src: *u8, off: i64, len: i64, out: *u8, out_cap: i64) -> i64 |
| 279 | func nx_html_decode_entities(src: *u8, off: i64, len: i64, out: *u8, out_cap: i64) -> i64 called by 8: mainbr_drawbr_draw_fbbr_draw_fb_atfg_pipe_eqde_check+2 calls 3: sys_mmapnx_html_entity_lookup_ent_utf8 |